Jump to content

Greyscale Hover to Full Color on Gallery Grid 7.1

Recommended Posts

Site URL: https://carasmanagement.com

I'm trying to get the full gallery back to regular color of each individual image ONLY when hovering over each greyscale image. 

This is how it looks like right now, but is not giving me the full color yet once I pass the cursor through.

 

<body>
<style>
.gallery-grid-item
  {filter:grayscale(100%)}
.gallery-grid-item
  img:hover{filter:grayscale(0);transition:1s;}
img:hover{transform:scale(1.1); transition: .5s;}

 

Any help with this will be very much appreciated it! 

Link to comment
  • 1 year later...
On 4/2/2022 at 8:41 AM, tuanphan said:

Use this code to Design > Custom CSS

.gallery-grid-item {
    filter: grayscale(100%);
    -webkit-filter: grayscale(100%);
}
figure:hover {
    filter: grayscale(0);
    -webkit-filter: grayscale(0);
}

 

Ive tried adding this to the custom CSS tab, but my Gallery is not changing. It's still fully colour and it's not changing with  hover or rollover. Any help on this would be greatly appreciated!

 

I've tried this too and its not reacting to that either

.sqs-gallery-block-grid .slide img {

  transition: .5s ease-in-out; 

  filter: grayscale(1);

}

.sqs-gallery-block-grid .slide img:hover { 

  filter: none;

}

 

Any help would be really appreciated! 

Thanks

 

Link to comment
On 4/10/2023 at 4:23 PM, SayceArbenz said:

Ive tried adding this to the custom CSS tab, but my Gallery is not changing. It's still fully colour and it's not changing with  hover or rollover. Any help on this would be greatly appreciated!

 

I've tried this too and its not reacting to that either

.sqs-gallery-block-grid .slide img {

  transition: .5s ease-in-out; 

  filter: grayscale(1);

}

.sqs-gallery-block-grid .slide img:hover { 

  filter: none;

}

 

Any help would be really appreciated! 

Thanks

 

Can you share link to page where you use Gallery? We can check problem easier

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

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.