Jump to content

gallery image links not working when hover is in place

Recommended Posts

Posted

Site URL: https://gazelle-harpsichord-n9ca.squarespace.com/config/

Each of the photos in this gallery (see screenshot) are supposed to link to another page in the site, but none of them are working. I'm using CSS to apply a hover effect and am wondering if that's the problem. 

Password: wcfeventsite

The code I'm using for hover effect is below:

//FEATURED SPEAKERS - Grid Gallery Captions on Hover//
section[data-section-id="60512ff41cd0757636eeed23"]
.gallery-caption {
position: absolute;
top: 0;
left: 0;
background: rgba(0,0,0,0.0); /* 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: 1rem !important; /* caption font size */
color: white; /*caption font color */
}
.gallery-grid-item {
position: relative;
}
.gallery-grid-item:hover .gallery-caption {
opacity: 1;
}
.gallery-caption-grid-simple {
transition-delay: 0ms;
}

Screen Shot 2021-03-29 at 1.09.58 PM.png

  • Replies 3
  • Views 349
  • Created
  • Last Reply
Posted

Hey kimimischke, yeah, I'd imagine it's because of the overlay that that's overlapping with the link. I'll need to take a look at your site to see exactly where the issue is though. Your site is showing up as Private, could you set it to Password Protect?

Hey there, my name is Will and I help Squarespace designers and developers with my plugins, tutorials, and my Code Curious Membership
  
I would be happy to answer any questions you have about Javascript, CSS, or the meaning of life  - I'm an expert in 2 of these. 

Youtube | Website

Archived

This topic is now archived and is closed to further replies.

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