Comment on page
CMS & Lightbox + Captions ❺
Display CMS-Managed Captions in Webflow’s Lightboxes
This feature allows you to display a caption inside of Webflow’s lightboxes, which is automatically pulled from the CMS.
Works with CMS-stored images, thumbnails, and captions. Does not support captioning video, due some complexities matching captions to the currently displayed video.
CMS Lightbox + Captions - Webflow
CMS Lightbox + Captions
Cloneable demo site.
- Include a photo in your collection items
- Include a plain text, single-line caption
- Setup your Collection List
- Add your Lightbox Element
- Data bind it, as usual, to the thumb and main images you want
- Also set Alt Text to the plain text caption you want
Add the
wfu-lightbox-captions
custom attribute (no value needed) to the Lightbox Link, which is the outermost lightbox element.That's it!
The CMS field you've bound to Alt Text will be displayed as the caption in lightbox view.
See above for details.
Last modified 1mo ago