Jump to content

I want to add img filter to specific page

Recommended Posts

Hello there!! I added a CSS filter to my image to make transitions from b&w to color, but I only want to aply to only one of the pages, the images in every other page  should be in directly in color. I paste the code I have.

 

Thanks!

 

.image-block { filter: grayscale(100%); transition: filter .5s ease-in-out;}  .image-block:hover { filter: none;}

 

2020-07-19 12_38_57-Imagery — Your Site Title.png

Link to comment
  • Replies 2
  • Created
  • Last Reply

replace .image-block in 2 codes with image-block-id

Find id with this tool. https://chrome.google.com/webstore/detail/squarespace-collectionblo/bggpdfnccodbnmcndckmeehdjkjojkde

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

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.