jQuery slider / Posts /

Adding caption text for each image in the jQuery Slider

6
I have installed the software, the jQuery slider of the pure javascript version.

How i want to place text under each image? This is because i want to give a short brief of the images displayed.
Suha  3 years ago   viewed: 27047    

5 Answers

-9
Just add the caption element inside the <li> element. Please refer to the stylesheet code in the download package to see how they are styled. Also don't forget to give the caption a font-size as the slider's wrapper UL has been set font-size:0 that will be inherited by its children.
John
  3 years ago
-3
I would like to add text (not caption)below on every thumb ,how could it do? ,i tried adding text ,div below thumbnail ,but its not working ,any suggestions?
Uday
  6 months ago
2

The slider's CSS has set its wrapper, UL, font-size:0 that will be inherited by all its children. So you need to give your caption or text DIV the font size back such as font-size:16px;

Milo   6 months ago
-2

This didn't work for me.  Got any other suggestions?

John Phillips
  one year ago
-7

Sorry, I just needed to put a font size and color in the css to make it show up.

John Phillips
  one year ago

   

Your name*
Password
(Optional. Used to modify this post afterwords)
+ =  

Ask your Own Question

  • If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;

  • When you want to start a new page for your question: