WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Popular Posts
CSS class in content (2 posts)

  1. BABOO2013
    Member
    Posted 1 year ago #

    Plz in next version add a li-wpp CSS class in content so we can adjust line spacing. I did it and it's working fine:

    in wordpress-popular-posts.php:
    $content .= "<li class='li-wpp'>{$thumb}{$title_sub} {$excerpt}<span class=\"post-stats\">{$stats}</span>{$rating}" . "\n";

    in wpp.css:
    .li-wpp {padding-bottom:15px; }

    Thx!

    http://wordpress.org/extend/plugins/wordpress-popular-posts/

  2. Héctor Cabrera
    Member
    Plugin Author

    Posted 1 year ago #

    Hi there,

    Why not use the Custom HTML markup feature instead? It will allow you to use your own HTML code, it's quite flexible. Check 'How can I use my own HTML markup with your plugin?' on the FAQ for more.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.