Title: Help with DIV that does not float
Last modified: August 19, 2016

---

# Help with DIV that does not float

 *  [WP Monkey](https://wordpress.org/support/users/scdesmond/)
 * (@scdesmond)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/help-with-div-that-does-not-float/)
 * I have added an second sidebar (sidebar2) to a theme and added a widget to it,
   but it is floating below the sidebar and content DIVs, at the bottom of the page
   instead of on the right side. I assume I’m doing something wrong in my CSS (position
   is relative, no float) or where I am calling it from within the index.php. Any
   thoughts?
 * Site: [http://kodiaktraining.com/](http://kodiaktraining.com/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/help-with-div-that-does-not-float/#post-1149092)
 * On that layout, you’d need to call the second sidebar **after** the post content
   and set it to float:right in the CSS.
 *  Thread Starter [WP Monkey](https://wordpress.org/support/users/scdesmond/)
 * (@scdesmond)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/help-with-div-that-does-not-float/#post-1149450)
 * This is the order of the tags (in summary) in my index.php file:
 * page
    content post sidebar sidebar2
 * Where sidebar2 is the second sidebar that is floating to the bottom of the page
   not the top. Could this be a CSS property that needs to be set to top?
 *  Thread Starter [WP Monkey](https://wordpress.org/support/users/scdesmond/)
 * (@scdesmond)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/help-with-div-that-does-not-float/#post-1149451)
 * And sidebar2 is already set to float right, so I’m wondering why it is aligned
   bottom. Do I need to add up all the widths of the page, sidebar, and content 
   to make sure if there is enough room?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Help with DIV that does not float’ is closed to new replies.

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)
 * [float](https://wordpress.org/support/topic-tag/float/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP Monkey](https://wordpress.org/support/users/scdesmond/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/help-with-div-that-does-not-float/#post-1149451)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
