WordPress.org

Ready to get started?Download WordPress

Forums

Nivo Slider for WordPress
[resolved] Show/Hide caption (3 posts)

  1. 96320
    Member
    Posted 1 year ago #

    Thank you for a great plugin!
    Is there a way to hide the caption (and its black background) so it only shows when you hoever the slideshow?

    http://wordpress.org/extend/plugins/nivo-slider-for-wordpress/

  2. 96320
    Member
    Posted 1 year ago #

    I figured it out:)

    In the file jquery.nivo.slider.pack.js, just after the part that starts with processCaption

    I added:

    if(settings.captionHide){
    $('.nivo-caption', slider).hide();
    slider.hover(function(){
        $('.nivo-caption', slider).show ();
        }, function(){
        $('.nivo-caption', slider).hide ();
    });}

    the at the very bottom, were the defaults are, I added

    captionHide:true

    In the css I added cursor:pointer to the .nivo-caption also.

  3. LingoSam
    Member
    Posted 1 year ago #

    Thanks, this worked a charm.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.