Forums

WP125
no div clear causes broken sidebars (1 post)

  1. Seth Carstens
    Member
    Posted 8 months ago #

    You need to add a div clear at the end of your widget code. This allows browsers to properly calculate the height of the widget div since all your elements are floating.

    I added this line to wp125.php around line 328 right before the function close curly brace:

    echo '<div style="clear:both;"></div>';

    Also, you should add more hooks and filters into your plugin so that other developers can customize the output of your code. Its nearly impossible to do anything custom with your plugin.

    http://wordpress.org/extend/plugins/wp125/

Reply

You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by Seth Carstens
  • This topic is not resolved
  • WordPress version: 3.4.2

Tags

No tags yet.