Page 1 of 1
Adding Caption to images in Fotorama script
Posted: 20 Aug 2015, 11:53
by mowgli
Hello,
I use the Fotorama script for a slideshow images. How can I put caption in some photo? How it is possible using this script?
Thanks in advance.
Adding Caption to images in Fotorama script
Posted: 20 Aug 2015, 13:31
by Admin
Hi,
I'm not the person who made the Fotorama script, and because I not use it, I not know very well about its customization.
If you want to know more about the Fotorama script, see the
Fotorama Full list of options.
- Also, check their API, and the other pages from the Customize menu in their site.
- From what I saw in their web site, you can use the
data-caption="text..." attribute in the <img> tag to add a caption in the image.
- To change the caprion style, modify the css properties of the
fotorama__caption class in the css file.