Ellell Posted February 6, 2022 Share Posted February 6, 2022 Site URL: https://www.hapticstudio.com.au/projects Hi there, I'm struggling to find a way to get the Dorothy image hover to lead to the project page. Any help would be greatly appreciated. I've copied in the CSS I have been working with as it relates to the gallery. I imagine it is a mess to those who understand it more clearly than I do. Sorry in advance. .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(247,245,244,0.8); /* overlay color */ height: 100%; max-width: unset; padding: 0; opacity: 0; } .gallery-caption-wrapper { display: flex; align-items: center; /* center vertically */ justify-content: center; /* center horizontally */ } .gallery-caption-content { font-size: 4vw !important; /* caption font size */ color: rgb(40,40,41); /*caption font color */ font-family:'Lausanne-300'!important } .gallery-masonry-item { position: relative; } .gallery-masonry-item:hover .gallery-caption { opacity: 1; } .gallery-caption-grid-masonry { transition-delay: 0ms; } Link to comment
Beyondspace Posted February 6, 2022 Share Posted February 6, 2022 2 hours ago, Ellell said: Site URL: https://www.hapticstudio.com.au/projects Hi there, I'm struggling to find a way to get the Dorothy image hover to lead to the project page. Any help would be greatly appreciated. I've copied in the CSS I have been working with as it relates to the gallery. I imagine it is a mess to those who understand it more clearly than I do. Sorry in advance. .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(247,245,244,0.8); /* overlay color */ height: 100%; max-width: unset; padding: 0; opacity: 0; } .gallery-caption-wrapper { display: flex; align-items: center; /* center vertically */ justify-content: center; /* center horizontally */ } .gallery-caption-content { font-size: 4vw !important; /* caption font size */ color: rgb(40,40,41); /*caption font color */ font-family:'Lausanne-300'!important } .gallery-masonry-item { position: relative; } .gallery-masonry-item:hover .gallery-caption { opacity: 1; } .gallery-caption-grid-masonry { transition-delay: 0ms; } Try adding to Home > Design > Custom Css .gallery-caption { pointer-events: none; } Let me know how it works on your site Support me by pressing 👍 if this useful for you tuanphan 1 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment