Jump to content

Image Poster effect on hover - only poster

Recommended Posts

Site URL: https://orchid-piano-9tpj.squarespace.com/


I have an HTML to create an effect on hover on images. Is there a code to make this apply to only image poster blocks, and not inline, card, stack etc.?

This is my code now

.image-block:hover img {
  filter: brightness(0.7);
  transition: all .3s ease-in-out; 

I want the hover on these images https://orchid-piano-9tpj.squarespace.com/projects

But not on this https://orchid-piano-9tpj.squarespace.com/about

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • 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.