ziebol1 Posted January 15, 2022 Share Posted January 15, 2022 Site URL: https://khaki-gerbil-cdd4.squarespace.com/gallery-2 pass:modern84 Hi all, I have some custom css that creates a hover effect on an image (two images). I've managed to link the text part of the hover effect to a certain page, but I want the whole area of the image to be a link. My css knowledge is limited, can someone help me? Thanks for any advice! Link to comment
Beyondspace Posted January 16, 2022 Share Posted January 16, 2022 3 hours ago, ziebol1 said: Site URL: https://khaki-gerbil-cdd4.squarespace.com/gallery-2 pass:modern84 Hi all, I have some custom css that creates a hover effect on an image (two images). I've managed to link the text part of the hover effect to a certain page, but I want the whole area of the image to be a link. My css knowledge is limited, can someone help me? Thanks for any advice! Try adding to Home > Design > Custom Css section[data-section-id="61918b4a63634531ee6b9a6a"] .image-caption a { width: 100%; height: 100%; position: absolute; top: 0; left:0; display: flex; justify-content: center; align-items: center; } Let me know how it works on your site Support me by pressing 👍 if this useful for you ziebol1 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted January 16, 2022 Share Posted January 16, 2022 My testing ziebol1 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
ziebol1 Posted January 16, 2022 Author Share Posted January 16, 2022 13 hours ago, bangank36 said: Let me know how it works on your site Works perfectly. Thank you so much! Beyondspace 1 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