Title: Getting sidebar to align with the content
Last modified: August 19, 2016

---

# Getting sidebar to align with the content

 *  [rolfpress](https://wordpress.org/support/users/rolfpress/)
 * (@rolfpress)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/content-vs-sidebar/)
 * I am busy with modifying a theme to fit my own purpose.
 * It was almost finished, when a problem occured. The sidebar I added wouldn’t 
   align with the content. I have tried a lot of different codes and settings, but
   I can’t get the sidebar next to the content. Can anyone help me?
    You can see
   the problem at: [http://www.fantasy-blog.nl](http://www.fantasy-blog.nl)

Viewing 1 replies (of 1 total)

 *  [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * (@stvwlf)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/content-vs-sidebar/#post-1217967)
 * hi
 * two CSS suggestions that should fix this
 * line 317
 *     ```
       #sidebar {
       --> delete -->margin-left:560px;
       --> add --> float: right;
       padding:0 36px 0 0;
       position:relative;
       width:190px;
       }
       ```
   
 * line 363
 *     ```
       #footer {
       --> add --> clear: both;
       background:transparent url(img/bgfooter.jpg) no-repeat scroll 0 0;
       color:#666666;
       font-size:1.1em;
       line-height:41px;
       margin:0 0 20px 24px;
       text-align:center;
       width:762px;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Getting sidebar to align with the content’ is closed to new replies.

## Tags

 * [content](https://wordpress.org/support/topic-tag/content/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 1 reply
 * 2 participants
 * Last reply from: [stvwlf](https://wordpress.org/support/users/stvwlf/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/content-vs-sidebar/#post-1217967)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
