RKS Posted December 5, 2022 Share Posted December 5, 2022 Hello, I would like to enable hover effect on my website for images in list section carousel and banner slideshow (under the PORTFOLIO menu item) so that an alternate image appears on hover. Is there a CSS code that could help with this? Website: https://toucan-rhombus-85w7.squarespace.com/ Password: AB123! Thank you. Link to comment
Beyondspace Posted December 5, 2022 Share Posted December 5, 2022 1 hour ago, RKS said: Hello, I would like to enable hover effect on my website for images in list section carousel and banner slideshow (under the PORTFOLIO menu item) so that an alternate image appears on hover. Is there a CSS code that could help with this? Website: https://toucan-rhombus-85w7.squarespace.com/ Password: AB123! Thank you. You can try adding to Home > Design > Custom Css section[data-section-id="63664642b29e8e13265708d3"] .gallery-grid-lightbox-link:before { content: ''; display: block; width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: 999; background-size: cover; background-position: center center; background-repeat: no-repeat; opacity: 0; transition: opacity 0.5s ease; } section[data-section-id="63664642b29e8e13265708d3"] .gallery-grid-lightbox-link:hover:before { opacity: 1; } section[data-section-id="63664642b29e8e13265708d3"] .gallery-grid-item:nth-child(1) .gallery-grid-lightbox-link:before { background-image: url(https://images.unsplash.com/photo-1664574654521-7faf33eb9086?ixlib=rb-4.0.3&ixid=MnwxMjA3fDF8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1170&q=80); } section[data-section-id="63664642b29e8e13265708d3"] .gallery-grid-item:nth-child(2) .gallery-grid-lightbox-link:before { background-image: url(https://images.unsplash.com/photo-1670189577367-2c6ef31a4b8c?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=764&q=80); } Support me by pressing 👍 or marking as solution if this useful for you BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
Beyondspace Posted December 5, 2022 Share Posted December 5, 2022 My testing BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 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
RKS Posted December 5, 2022 Author Share Posted December 5, 2022 Thank you for your help. It worked for me on the Gallery Grid format. But I was not able to make it work on the List Section: Carousel or List Section: Banner Slideshow. Is it the same code with some tweaks of a different code for these two List Sections. Thx! Link to comment
tuanphan Posted December 10, 2022 Share Posted December 10, 2022 On 12/6/2022 at 3:34 AM, RKS said: Thank you for your help. It worked for me on the Gallery Grid format. But I was not able to make it work on the List Section: Carousel or List Section: Banner Slideshow. Is it the same code with some tweaks of a different code for these two List Sections. Thx! You mean for this page? Hover image >> Change to another image, same text? https://toucan-rhombus-85w7.squarespace.com/inrepose 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment