Skip to content

Commit

Permalink
Merge pull request #46 from jmjf/patch-5
Browse files Browse the repository at this point in the history
Add clearfix to default sidebars to properly draw wells around widgets with floated elements.
  • Loading branch information
obenland committed Feb 5, 2013
2 parents 0dc9e20 + e9aca94 commit aa97c02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions functions.php
Expand Up @@ -180,7 +180,7 @@ function the_bootstrap_widgets_init() {
register_sidebar( array(
'name' => __( 'Main Sidebar', 'the-bootstrap' ),
'id' => 'main',
'before_widget' => '<aside id="%1$s" class="widget well %2$s">',
'before_widget' => '<aside id="%1$s" class="widget well clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
Expand All @@ -190,7 +190,7 @@ function the_bootstrap_widgets_init() {
'name' => __( 'Image Sidebar', 'the-bootstrap' ),
'description' => __( 'Shown on image attachment pages.', 'the-bootstrap' ),
'id' => 'image',
'before_widget' => '<aside id="%1$s" class="widget well %2$s">',
'before_widget' => '<aside id="%1$s" class="widget well clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h2 class="widget-title">',
'after_title' => '</h2>',
Expand Down Expand Up @@ -1078,4 +1078,4 @@ function _the_bootstrap_version() {


/* End of file functions.php */
/* Location: ./wp-content/themes/the-bootstrap/functions.php */
/* Location: ./wp-content/themes/the-bootstrap/functions.php */

0 comments on commit aa97c02

Please sign in to comment.