Jump to content

How can I change image hover for only certain pictures?

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

You need to target the specific images where you want the effect.

/* image block hover effect, uses LESS syntax */

#block-4669dfb9a780254b9b6d, // optional image comment here
#block-52b8e172d1875e9d06a0, // optional image comment here

  {
  
    filter : grayscale( 100% );
    transition : filter 0.3s ease-in-out;
    
    &:hover {
    
      filter : grayscale( 0% );
      
      }
      
    }

To find block ids check out Heather Tovey's most excellent looking Squarespace ID Finder.

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.