Streaming live at 10am (PST)

Multiline lightbox caption


#1

Hello!
I have been researching here in the forum for a solution to make the lightbox captions multi line, however I found out it's not implemented yet.

I manipulated the CSS so I could at least have a text wrapping (instead of the ellipsis at the end of the single line); It's pretty simple:

.w-lightbox-caption {
     white-space: normal;
}

You can override other styles too, like color, font-size, etc, just add the style to head tag or before closing body. :slight_smile:

You can find more about the white-space property here: https://developer.mozilla.org/en-US/docs/Web/CSS/white-space


Help with multi-line lightbox captions
#2

Hi,
I was easily able to change the style on my exported code css. I wasn’t able to apply within the designer and push out to my staging site for client review. You mention putting the code into the head tag. I tried doing this for the specific page my lightbox gallery is on and also sitewide. Does something else need to be included to override the default styling, within the designer area?