Support » Themes and Templates » Leaf » [Resolved] iview caption customization

[Resolved] iview caption customization

  • Hi,

    I am looking for a way to shorten the caption that is being displayed in iview for a post. I have customized iview fonts with css and now captions are simply too long.

    Anybody knows how to obtain this?

    Thanks in advance

Viewing 4 replies - 1 through 4 (of 4 total)
  • OK, just found it 🙂


    <span class=”iview-caption caption1″ data-x=”15″ data-y=”258″ data-transition=”expandleft”><?php echo ‘<p>’ . wp_trim_words( get_the_excerpt(), 27, null ) . ‘</p>’; ?></span>

    Editing this, did the trick 😉

    Thanks for the theme, its superb!

    Theme Author bradthomas127


    Hi ent108, you should look into making a child theme so all your edits don’t get over written in an update, i have a child the starter on GitHub for leaf.

    oh, thanks for the hint… I have customized it hardly. I need to check on how to do a child theme…

    Thanks for your attention.

    Theme Author bradthomas127


    @ent108 I have a child Theme starter on GitHub and i just found this plugin using the coin slider

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] iview caption customization’ is closed to new replies.
Skip to toolbar