Jump to content

Portfolio grid greyscale to colour hover effect

Recommended Posts

  • Replies 6
  • Views 888
  • Created
  • Last Reply
1 hour ago, Voila said:

Site URL: https://ranunculus-caterpillar-62hs.squarespace.com

Hello,

I am trying to add from grayscale to colour overlay on hover to the portfolio grid:simple.

Add this in Design->Custom CSS
 

.gallery-grid--layout-grid .gallery-grid-item img {
  -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.5s;
}
.gallery-grid--layout-grid .gallery-grid-item:hover img {
  -webkit-filter: grayscale(0);
    filter: grayscale(0);
    filter: none;
}

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
21 minutes ago, bangank36 said:

Add this in Design->Custom CSS
 

.gallery-grid--layout-grid .gallery-grid-item img {
  -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transition: 0.5s;
}
.gallery-grid--layout-grid .gallery-grid-item:hover img {
  -webkit-filter: grayscale(0);
    filter: grayscale(0);
    filter: none;
}

When I added this code to Custom CSS nothing changed. This code works only for gallery section grid but not for Portfolio grid tiles.

Link to comment
14 minutes ago, Voila said:

When I added this code to Custom CSS nothing changed. This code works only for gallery section grid but not for Portfolio grid tiles.

oh sorry I misread the question, could you enable your site password to check on yours?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
19 hours ago, Voila said:

Add to Design > Custom CSS

a.grid-item {
    filter: grayscale(1);
}
a.grid-item:hover {
    filter: grayscale(0);
}

 

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!)

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.