Jump to content

Display only descriptions in Lightbox

Recommended Posts

Hello,

I've been trying to remove the titles from Lightboxes, while keeping the image descriptions. All the solutions I've seen so far remove everything using this line of code:


.sqs-lightbox-meta {
  display: none}

What would be the right way to keep on displaying the descriptions in a Lightbox , but without titles?

Thanks in advance!

Link to comment
  • Replies 2
  • Views 423
  • Created
  • Last Reply
15 minutes ago, Martinjcorr said:

Hello,

I've been trying to remove the titles from Lightboxes, while keeping the image descriptions. All the solutions I've seen so far remove everything using this line of code:


.sqs-lightbox-meta {
  display: none}

What would be the right way to keep on displaying the descriptions in a Lightbox , but without titles?

Thanks in advance!

You did not provide your site url so I assume it similiar to this gallery: https://www.adamkatweddings.com/wedding-photographer-london-gallery

With h1 is the caption and p tag is description, we can do this

.sqs-lightbox-meta h1 {
  display: none;
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

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.