Follow vsgloik on Twitter
oik-plugins
lazy smart shortcodes

Styling the oik-nivo-slider caption

If you want the caption for each slide to only appear when the mouse is hovered over the slide then you can use custom CSS.

Art_suppliesCubePencil
Art_suppliesCubePencil
Hover over the caption to make it appear.

Here are two slideshows. The second one has a class name of imagegal.  The CSS to override the jQuery code is

.imagegal .nivo-caption { opacity: 0.0 !important; -webkit-transition: opacity 2s;
transition: opacity 2s; }
.imagegal .nivo-caption:hover {  opacity: 1.0 !important; }

The !important is necessary since it has to override the jQuery that is animating the caption as the slides change.



hover to slideToggle source

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>