WordPress.org

Forums

WordPress Popular Posts
CSS class in content (2 posts)

  1. BABOO2013
    Member
    Posted 2 years 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. Hector Cabrera
    Member
    Plugin Author

    Posted 2 years 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

  • WordPress Popular Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.