Hello,
in basic blocks, the lightbox was designed for short caption (one line) and does not support multiple data sources at the same time, such as Title and Description
Thanks for your quick reply. I get that it can’t pull multiple data sources, that is not an issue. But I can’t really get my head around why the text doesn’t go to a new line when it’s longer, even if I understand that is not the intended use.
I’m trying to get it to do what I want by adding to the custom css panel but I can’t seem to find the right class to add the behaviour to:
.pgc-rev-lb-b-info-wrap {
overflow-wrap: break-word;
}
any advice?
Try add to Customize -> Additional CSS
I’ve tried adding the following code in two places with no effect on either location:
1. Blocks preset -> justified block (what I use) -> custom css
2. Galleries -> my one test gallery so far -> gallery block -> custom css
.pgc-rev-lb-b-header,
.pgc-rev-lb-b-show,
.pgc-rev-lb-b-info-wrap,
.pgc-rev-lb-b-item-title {
overflow: visible;
overflow-wrap: break-word;
white-space:normal;
}
I notice since text-overflow is set to ellipsis, and I can see the triple dots… clearly it recognises that the text has reached the end of it’s container