Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Linked Image Blocks won't take you to the linked page


LV-OZ

Question

  • Answers 2
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

2 answers to this question

Recommended Posts

  • 0
9 minutes ago, LV-OZ said:

Site URL: https://lobster-ray-g42d.squarespace.com/

Hi - I am having trouble with my image blocks on my homepage, they are set to link to other pages within the site, but when I click on them they do not take me there.

Is there any issue here that I am not aware of?

pw: youcanenter

 

1433449631_ScreenShot2021-07-20at10_59_05AM.thumb.png.681ec7f5a2d1e5e217ee34b2bcd5f4f8.png

You add overlay on the image itself, try to add overlay on <a> tag inside the image so that it still be hoverable

.image-block .image-linked a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: .1;
    background: #000;
    transition: all 0.75s;
}
.image-block .image-linked:hover a:before {
    opacity: .8;
}

image.thumb.png.1a1b86d637ed3dbd16a3c2428cd447d2.png

Greeting, it's BaNgan from 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, Portfolio hover Replace Link Style
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
  • 0
3 minutes ago, bangank36 said:

You add overlay on the image itself, try to add overlay on <a> tag inside the image so that it still be hoverable

.image-block .image-linked a:before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    opacity: .1;
    background: #000;
    transition: all 0.75s;
}
.image-block .image-linked:hover a:before {
    opacity: .8;
}

image.thumb.png.1a1b86d637ed3dbd16a3c2428cd447d2.png

Thank you, you are a lifesaver!!

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...