WordPress.org

Ready to get started?Download WordPress

Forums

Leaf
[resolved] iview caption customization (5 posts)

  1. ent108
    Member
    Posted 1 year ago #

    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

  2. ent108
    Member
    Posted 1 year ago #

    OK, just found it :)

    home.php

    <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!

  3. bradthomas127
    Member
    Theme Author

    Posted 1 year ago #

    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.

  4. ent108
    Member
    Posted 1 year ago #

    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.

  5. bradthomas127
    Member
    Theme Author

    Posted 1 year ago #

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

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic