Jump to content

Adding a background colour on hover in a Summary Block, Wall Style 7.1

Recommended Posts

Posted

How can I format the preview blocks of a Summary Block in a Wall Layout so that they highlight with a background colour around the image and behind the text when you hover? The example goal is like in this site's blog summaries : https://textilesandmateriality.com/

I can't figure out the right CSS to make it happen.

  • Replies 7
  • Views 1.5k
  • Created
  • Last Reply
Posted

@tuanphan That's what I want it to look like,  but in the summary layout "wall" instead of "grid. I have only figured out how to do it for "grid" which is my second choice 😞 

Posted
16 hours ago, abi123 said:

@tuanphan That's what I want it to look like,  but in the summary layout "wall" instead of "grid. I have only figured out how to do it for "grid" which is my second choice 😞 

Can you change to wall layout? We will check again.

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

  • 1 month later...
Posted
On 1/22/2021 at 10:16 AM, abi123 said:

Hi @tuanphan, the site url is now: https://www.migrationandmobility.ca/

and the password to access is: mobility

Thanks,

Abi

Use new code

body.homepage .summary-item:hover {
    background-color: #e9795d !important;
    box-shadow: 1px 1px 8px 2px rgba(0,0,0,.2) !important;
    opacity: 1;
    transition: ease-in-out .3s;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.