Voila Posted January 9, 2021 Share Posted January 9, 2021 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. Link to comment
Beyondspace Posted January 9, 2021 Share Posted January 9, 2021 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
Voila Posted January 9, 2021 Author Share Posted January 9, 2021 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
Beyondspace Posted January 9, 2021 Share Posted January 9, 2021 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
Voila Posted January 9, 2021 Author Share Posted January 9, 2021 2 hours ago, bangank36 said: oh sorry I misread the question, could you enable your site password to check on yours? https://ranunculus-caterpillar-62hs.squarespace.com/portfolio-2 password: squarespace Link to comment
tuanphan Posted January 10, 2021 Share Posted January 10, 2021 19 hours ago, Voila said: https://ranunculus-caterpillar-62hs.squarespace.com/portfolio-2 password: squarespace 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
Voila Posted January 10, 2021 Author Share Posted January 10, 2021 6 minutes ago, tuanphan said: Add to Design > Custom CSS a.grid-item { filter: grayscale(1); } a.grid-item:hover { filter: grayscale(0); } Thank you so much! Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.