Jump to content

Recommended Posts

Posted

Hello Squarespace community,

I have version 7.0 and I am trying to customize the caption block in Lightbox (light overlay theme) that appears when you click on an image in my gallery (grid).

I want to change the 50% black background to transparent

The text to black

Reduce the padding between each line break 

And change the font to a custom font in my CSS (Baskerville)

Please help me with a custom CSS code that will help me achieve this.

Warm Thanks,

Jay Michelle

 

Screenshot 2023-06-04 at 9.25.10 AM.png

  • Replies 5
  • Views 572
  • Created
  • Last Reply

Top Posters In This Topic

  • 2 weeks later...
Posted

Add to Design > Custom CSS

.yui3-lightbox2 .sqs-lightbox-meta.overlay-description-visible {
    background-color: transparent !important;
}
.yui3-lightbox2 .sqs-lightbox-meta.overlay-description-visible * {
    color: black !important;
    font-family: 'baskerville' !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!)

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.