Jump to content

Any way to remove the hover text in the the gallery lightbox to have it below the image?

Go to solution Solved by tuanphan,

Recommended Posts

Does anyone know if there is a way to remove the hover text option in the lightbox and instead have the text static, and placed underneath the image. I like the look of the images in the gallery without text but am looking for a cleaner option to show the text when looking at images inside the lightbox. I'm using the Montauk template with the SquareSpace 7.0 version. Thanks for any help!

This is the code that I am using but it is not working:

/* Display captions underneath images in Lightbox */
.gallery-lightbox-grid .sqs-lightbox-meta {
  position: static !important;
  display: block !important;
  text-align: center !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  color: #fff !important;
  padding: 10px !important;
  margin: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.gallery-lightbox-grid .sqs-lightbox-meta p {
  margin: 0 !important;
}

.gallery-lightbox-grid .sqs-lightbox-meta a {
  color: #fff !important;
  text-decoration: underline !important;
}

.gallery-lightbox-grid .sqs-lightbox-meta a:hover {
  text-decoration: none !important;
}
Link to comment
  • Replies 3
  • Views 512
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 7/10/2023 at 11:48 AM, JoePf said:

Hi, all images on this page utilize the lightbox...https://www.josephpfeifer.com/archive

Thanks

Add to Design > Custom CSS

.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    background-color: transparent !important;
    padding: 0px !important;
}

.sqs-lightbox-slideshow .sqs-gallery-design-stacked-slide img {
    top: -30px !important;
}

.yui3-lightbox2 .sqs-lightbox-meta * {
    color: black !important;
}

 

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!)

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.