Skip to:
Content
Pages
Categories
Search
Top
Bottom

css bug?

  • Hi,

    I’ve been using i3Theme with BuddyPress (http://www.mangoorange.com/resources/i3theme/) and there is a formatting error where the left or right sidebar (it’s 3 column theme) can appear 25px too low. This happens when the ‘who’s online widget’ is displayed and the problem shows in Firefox but not IE.

    Looking at bp-core-widgets.php there is the line <div class=”clear” style=”margin-bottom: 25px”></div> in the function bp_core_widget_whos_online

    Why is that line there? Removing it seems to fix the formatting problem…

Viewing 1 replies (of 1 total)

  • Burt Adsit
    Participant

    @burtadsit

    Don’t know. Normally a <div class="clear"></div> is used in a theme to init a new area in the browser for floating divs. Defining the .clear class in css as clear{clear:both;margin-top:20px;padding-top:50px;} or something like that allows css control over the cleared region.

    You can override it by redifining .clear in your custom.css file. If this is the only place it exists then it probably was a quick stopgap measure to fix something. Maybe it’s just legacy stuff that hasn’t been removed yet.

    Who knows.

Viewing 1 replies (of 1 total)
  • The topic ‘css bug?’ is closed to new replies.
Skip to toolbar