Jump to content

Adjust height of title and subtext in a lightbox image caption

Recommended Posts

Site URL: https://www.cedarbuiltgreenhouses.com/10-fs-photos

Hello, as you can see in the image below (bottom of webpage), the shadow bow is taking up half of my photo. I'd like to drop the Title text so it is right above the body text and, therefore, it won't make such a large shadowbox. Also being able to make the body text smaller would help too.

Here is the code I currently have:

 

Quote

/* Make caption always visible */
.yui3-lightbox2 .sqs-lightbox-meta {
    opacity: 1 !important;
    background-color: rgba(0,0,0,0.55) !important;
}

 

Untitled2.png

Link to comment
  • Replies 3
  • Views 381
  • Created
  • Last Reply

Try adding to Design > Custom CSS

/* Lightbox caption */
.sqs-lightbox-meta {
    padding-bottom: 5px !important;
    padding-top: 5px !important;
}
.sqs-lightbox-meta * {
    margin-top: 1px !important;
    margin-bottom: 1px !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

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.