subscribe to RSS feeds

What's happening at OcularCMS®



« back to all blogs

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:

.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;
}

by

Categories: changelog
 

Blog Articles

subscribe for product announcements