Support » Themes and Templates » Leaf » [Resolved] How to Edit Slider

[Resolved] How to Edit Slider

  • I had done it before but I’m just wondering the options are to edit the slider in the LEAF theme. I want to take out the text description and only have a title on the slides. Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Theme Author bradthomas127


    Try this in the custom CSS section:

    .iview-caption.caption1 {
        display: none !important;

    And if I want to reduce or edit the EXACT text in the slider?

    Theme Author bradthomas127


    Make a child theme and change the wp_trim_words nuber you can see here on line: 35 GitHub

    Yeah, already figured it out. Gonna make a child theme in January don’t have time for that now 🙂

    Request: Make the description take text from the post by default, but have a Description field that can overwrite it (ie, higher in the hierarchy).

    That would be perfect.

    EDIT: Ops. And THANKS for the response 🙂

    Is there a way to remove all text including post title?

    home.php, child theme

    <a href="<?php the_permalink(); ?>" data-iview:image="<?php echo leaf_get_post_image( null,null,true,null, 'slider' ); ?>">
    							<span class="iview-caption caption3" data-x="15" data-y="212" data-transition="expandright"><h2><?php the_title(); ?></h2></span>
    							<span class="iview-caption caption1" data-x="15" data-y="258" data-transition="expandleft"><?php echo '<p>' . wp_trim_words( get_the_excerpt(), 35, null ) . '</p>'; ?></span>

    Thanks noaneo!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] How to Edit Slider’ is closed to new replies.
Skip to toolbar