RoddyNgolomingi Posted March 22, 2022 Posted March 22, 2022 Here is the code I used to make my gallery images hover .gallery-caption { position: absolute; top: 0; left: 0; background-color: rgb(134, 137, 140);/* overlay color */ height: 100%; max-width: unset; padding: 0; opacity: 0; } .gallery-caption-wrapper { text-align: center; color : white; } .gallery-caption-content { font-size: 2rem !important; /* caption font size */ color: White; /*caption font color */ } .gallery-grid-item { position: relative; color: white; } .gallery-grid-item:hover .gallery-caption { opacity: 1; } .gallery-caption-grid-simple { transition-delay: 0ms; }
creedon Posted March 22, 2022 Posted March 22, 2022 Please post the URL for a page on your site where we can see your issue. If your site is not public please set up a site-wide password, if you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the documentation at the link provided to understand how it works. Please read the documentation at the link provided on how to share a link to your site to understand how it works. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. We can then take a look at your issue. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
tuanphan Posted March 24, 2022 Posted March 24, 2022 I guess you need to add pointer-events: none; into this code .gallery-caption { position: absolute; top: 0; left: 0; background-color: rgb(134, 137, 140);/* overlay color */ height: 100%; max-width: unset; padding: 0; opacity: 0; pointer-events: none; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment