Jump to content

Gallery Grid with Overlay Captions on Hover - link not working?

Recommended Posts

Site URL: https://mouse-trout-epjy.squarespace.com/members



I have a gallery grid with an overlay on hover to display the caption on each image. However, each image also needs to link to a page. It seems that when I add an overlay it disables the clickthrough link on the image.

Anyone got any ideas on how to solve this?



site password: spong123



This is my code:


.gallery-caption { 
position: absolute; 
top: 0; 
left: 0; 
height: 100%; 
padding: 0; 
opacity: 0; 

.gallery-caption-wrapper { 
display: flex; 
align-items: center; 
justify-content: center; 

.gallery-caption-content { 
font-size: 1rem !important; 
color: white; 

.gallery-grid-item { 
position: relative; 

.gallery-grid-item:hover .gallery-caption { 
opacity: 1; 

.gallery-caption-grid-simple { 
transition-delay: 0ms; 


Link to comment
  • 1 year later...
  • 1 year later...

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.