Arca Posted April 2, 2022 Share Posted April 2, 2022 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
tuanphan Posted April 2, 2022 Share Posted April 2, 2022 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); } Arca 1 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
Arca Posted April 2, 2022 Author Share Posted April 2, 2022 Super helpful! It worked perfectly. Thank you so much for this!! Link to comment
SayceArbenz Posted April 10, 2023 Share Posted April 10, 2023 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
tuanphan Posted April 12, 2023 Share Posted April 12, 2023 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment