WordPress.org

Support

Support » Plugins and Hacks » Efficient Related Posts » [Plugin: Efficient Related Posts] Margin too important – Must be tuned !!!

[Plugin: Efficient Related Posts] Margin too important – Must be tuned !!!

  • Hi Guys!

    This plugin works perfect although I found the margin between the Title
    (Related Posts) and the following related posts too important.
    It comes from the first

      that generates an important margin-top.

    Here is the code:
    $output = "<ul class='related_post'>{$output}</ul>";
    What is this class referring too?
    I tried to create a similar class in style.css and put a margin-top of 0px but it does not make any change.

    Finally when I used Firebug and replaced the code <ul class="related_post"> by <ul style="margin-top: 3px;"> it worked perfect. No more huge gap!
    But I don’t feel like hacking the original code.

    Anyone knows how to reduce the huge gap between the title and the list of related posts?

    THANK YOU for your help!!!
    Jamy

Viewing 2 replies - 1 through 2 (of 2 total)
  • Please read It comes from the first <ul> that generates an important margin-top.

    You need to override the ul.related_post style with your own preferences. Use !important if necessary to get your settings to stick. No need to hack the plugin, just put it in your theme css.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Efficient Related Posts] Margin too important – Must be tuned !!!’ is closed to new replies.
Skip to toolbar