Title: moving the sidebar
Last modified: August 18, 2016

---

# moving the sidebar

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/)
 * I’m working on a new theme (aren’t we all?) and I’ve succeded in doing 99% of
   the work in the “classic” stylesheet. I’ve managed to move the sidebar from the
   right to the left, but it’s too far down. It lines up under the content.
 * [http://www.raasmsoftware.com/wp/index.php?wptheme=Tulip](http://www.raasmsoftware.com/wp/index.php?wptheme=Tulip)
   
   This is over at my testing blog, not my regular one.
 * I really really want to fix it in the stylesheet rather than mess with the index.
   Can anyone point me somewhere? I’ve tried all kinds of positioning to no avail.
   (
   But I think I’m gonna have to fiddle with the templates.)

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/moving-the-sidebar/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/moving-the-sidebar/page/2/?output_format=md)

 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164180)
 * from first glance, it seems like your sidebar is located inside your footer. 
   I don’t think you can fix this unless you go into your code, and rearrange where
   the sidebar is located.
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164181)
 * And in the new paradigm that will involve adding xhtml markup to two different
   files.
 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164182)
 * actually, i don’t think she’d need to change the xhtml in 2 files. I’m not currently
   on my own computer, so I can’t check the classic theme, but I think she should
   be able to do what she’s attempting by just changing the xhtml in the index.php
   file.
 *  Thread Starter [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164183)
 * That’s what I thought. 🙂
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164193)
 * No it cant.
 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164212)
 * well, why don’t you offer some help instead
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164225)
 * The difficulty with answering this type of question – and I have answered one
   or two in my time – is trying to compress a core understanding of CSS positioning
   into a few short sentences. This case clearly requires editing of the xhtml as
   well. Due the split file structure from which we are all benefiting – it has 
   IMHO raised the bar for self development. I think the best thing to do is find
   a theme that is solid, and has the cross platform stabilty you need. Colors, 
   fonts, images are all relatively simple compared to setting up the positioning
   or layout. This may not seem helpful – but it is meant to be.
 *  Thread Starter [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164245)
 * I’m glad you added that last bit. 🙂
 * I partly asked to see if it was a problem someone else has dealt with already,
   even after I searched the forums. Why reinvent the wheel? There have been similar
   questions, but no real answer.
 * I’m starting with a theme that I assume *is* solid – the classic one in 1.5. 
   The only mod I made to any php files was to include the theme switcher. That’s
   it.
 * I’ve been learning CSS for more than 4 years now in my spare time. I realize 
   the positioning is the hardest part. That’s why I asked a question – after trying
   a myriad of things all afternoon. Even eventually move the sidebar around in 
   the code.
 * Sometimes what might be crystal-clear to one person is still foggy to another.
   🙂 I’ve done this exact same layout in another blogging tool, but decided to 
   start from the WP files to make it easier on myself and possible future users.
   I’ll be sure and post the solution when I find it.
 *  [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164253)
 * At the possibility of being wrong here, it seems to be the dilemna I had a week
   ago, Ming suggestested that I put the sidebar before the content. I changed this
   in my template and all was well.
 * See this thread for a more detailed answer
 * [http://wordpress.org/support/topic.php?id=25999#post-147535](http://wordpress.org/support/topic.php?id=25999#post-147535)
 * DIV order matters
 *  [Root](https://wordpress.org/support/users/root/)
 * (@root)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164254)
 * Well at the risk of being indelicate the classic theme throws up this type of
   issue because it is coded in a really neat and minmalist way, but it can be tricky
   for people to upgrade because it tips them straight into the issues of positioning.
   
   The overwhelming majority of WP users first time out want two columns, header
   and footer, with page centred. That is surprisingly difficult to implement effectively
   in a way that is guaranteed to work across platform. And the really awkward fact
   is that for effective positioning a degree of editing in what was the index file
   is needed. I am working on some solutions for this which I hope to release shortly.
   Good luck anyway and welcome to WP.
 *  [dawg](https://wordpress.org/support/users/dawg/)
 * (@dawg)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164260)
 * The overwhelming majority of WP users first time out want two columns, header
   and footer, with page centred. That is surprisingly difficult to implement effectively
   in a way that is guaranteed to work across platform Quote Root
 * I tend to disagree, it is actually quite easy. I too had trouble floating the
   sidebar but had it positioned absolute in the beginning which worked well but
   I wanted to float it. Here is my example that is based on classic that conforms
   to “want two columns, header and footer, with page centred.”
 * [http://cafe789.com/kyles_eyes](http://cafe789.com/kyles_eyes)
 *  Thread Starter [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164281)
 * Dawg, I remember your problem. 🙂 Mine was originally set up that way, sidebar
   on the right, but when I moved it to the right I couldn’t get it where I wanted
   it.
    I’m sure somebody will tell me there’s another way to do it, but I positioned
   the content absolutely, and *bang* right where I wanted it. One line fix. I know
   I read another thread here about the horrors of absolute positioning, but it 
   worked. Some minor clean-ups and then it’ll be ready.
 * The only template changes I made were to remove the sidebar include out of the
   footer file, and moved a couple of closing div tags to be in the same file where
   they started.
    Example: in the main index, it called the footer and right away
   in the footer was a closing div, so I moved it to the index. It didn’t affect
   formatting because I moved it, saved, then checked. Everything is in the same
   order as the original classic template.
 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164284)
 * looks good in FF, but in IE, your footer is ontop of your content, instead of
   below it. from looking at your code, i’d suggest creating another <div> for just
   your footer, as your footer is only contained with the < p> and not inside anything
   else. So maybe something like:
 * < div id=”footer”> and end it after your footer info
 *  Thread Starter [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164286)
 * Well, shoot. Stupid IE. I’ll fix it in the morning. Thanks! 😀
    (I hate firing
   up IE for any reason.)
 *  [lawtai](https://wordpress.org/support/users/lawtai/)
 * (@lawtai)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/#post-164287)
 * heh just posted a suggestion

Viewing 15 replies - 1 through 15 (of 24 total)

1 [2](https://wordpress.org/support/topic/moving-the-sidebar/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/moving-the-sidebar/page/2/?output_format=md)

The topic ‘moving the sidebar’ is closed to new replies.

 * 24 replies
 * 4 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/moving-the-sidebar/page/2/#post-164447)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
