Jump to content

Portfolio grid greyscale to colour hover effect

Go to solution Solved by tuanphan,

Recommended Posts

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;
}

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, 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?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio plugin
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment
  • Solution
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

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

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.