Captions added to gallery slideshow
The gallery slideshow snippet has a new option for toggling captions either on or off. When on, the photo's description will be displayed in the popup image when clicked.
And for developers, the caption can be displayed under the thumbnails by using CSS. For example:
And for developers, the caption can be displayed under the thumbnails by using CSS. For example:
.lightbox_v2 .strip {
position: relative;
}
.lightbox_v2 .strip::after {
bottom: 0;
content: attr(data-strip-caption);
left: 0;
position: absolute;
right: 0;
text-align: center;
top: 0;
}