Remove Caption from Nivo Slider

Featured Theme Forums Twenty Plus Pro Twenty plus Pro Guides Remove Caption from Nivo Slider

This topic contains 0 replies, has 1 voice, and was last updated by  Zeaks 2 years, 4 months ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13379

    Zeaks
    Participant

    If you don’t want the slider caption displayed here’s how you can remove it. Open /inc/slider.php and lines 62-65, look for this block of code.

    $caption .= "<div id='nivo".get_the_ID()."' class='nivo-html-caption'><br />
    <h2><a href='".get_permalink()."' rel="nofollow">".get_the_title()."</a></h2><br />
    ".get_the_excerpt()."<br />
    </div>";

    Remove that code.

    Visit Appearance > Theme Options and paste this into the Custom CSS area.

    Code:
    .nivo-caption { padding: 0; }
Viewing 1 post (of 1 total)

The topic ‘Remove Caption from Nivo Slider’ is closed to new replies.