WordPress.org

Ready to get started?Download WordPress

Forums

Yet Another Related Posts Plugin (YARPP)
[resolved] Line Break before Thumbnail? (4 posts)

  1. chazcurry
    Member
    Posted 8 months ago #

    Tried overriding my css with padding and really everything I can think.

    Why is the YARPP thumbnail showing a line break before the thumbnail (inside the border?

    (even if I change the overall height it still doesn't affect the line break)
    .yarpp-thumbnail {height: 200px !important;} etc.

    Site:
    http://chazcurry.com/blog/

    Thanks for your help.

    http://wordpress.org/plugins/yet-another-related-posts-plugin/

  2. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    You need to override the top margin that is set on .article-content img for images that appear in the Related Posts section. One way to do it is to add the following to your theme's CSS file:
    .article-content .yarpp-related img {margin-top:5px !important;}

  3. chazcurry
    Member
    Posted 8 months ago #

    @jeffparker ROCKIN! 5px was the perfect margin (or default) as well.

    Thank you Jeff!

  4. jeffparker
    Member
    Plugin Author

    Posted 8 months ago #

    Glad that worked!

Reply

You must log in to post.

About this Plugin

About this Topic

Tags