Jump to content

linkable hovering effect

Recommended Posts

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

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, Keyword Highlighter
If 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

My testing

image.thumb.png.b09f1c2e2501ead3d438afe1f7c388ea.png

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, Keyword Highlighter
If 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.