Support » Themes and Templates » Widget in Own <li>?

  • Resolved kennethwatt


    Hi guys
    I’m currently developing this theme for my blog:
    And the live version is at:

    At the end of each widget, there is an extra line. The CSS code shows that there should be an border below each

  • . It appears as if each widget is in its own
  • , but I don’t want a border below each widget…


    #sidebar .recentcomments a { border: none; }
    #sidebar ul li, { display: block; padding: 3px; font: 13px Arial, Helvetica, "Trebuchet MS", Verdana, sans-serif; color:#878787; border-bottom: 1px solid #878787; width: 288px;}
    #sidebar ul li a { color: #878787; text-decoration: none; }
    #sidebar ul li a:hover { color: #00A1F5; text-decoration: none; }

    How can I resolve it?

    Thanks in advance,

Viewing 1 replies (of 1 total)
  • Resolved before reply.
    For reference to people looking for answers to same question:

    Turns out that WP defaults to putting some code before the widget, if nothing is specified in the theme’s functions.php file.
    Just changed it to:

    'before_widget' => '',
    'after_widget' => '',

Viewing 1 replies (of 1 total)
  • The topic ‘Widget in Own <li>?’ is closed to new replies.