Default Theme: moving sidebar to the left side
-
Attempting to move the sidebar in the Default theme from the right side to the left side.
In style.css, I changed the #sidebar left margin to 25 instead of 545. That moved the sidebar down below the posts. I set the sidebar width to 160. This covers 185px worth of space. Then I changed the post class “narrowcolumn” left margin to 230 to move it right (allowing for the sidebar width, and creating a 45px margin in between), but it stays at the top of the page, while the sidebar starts after the posts are done.
I would think that changing the margin settings would be enough, but that didn’t work.
I went into index.php and moved the get_sidebar instruction above the post area and below the get_header instruction. The sidebar is now at the top of the page on the left, but the posts start after the end of the sidebar and are positioned to the right.
I’ve read many forum posts today, and tried to find how I could resolve this from the codex files, but I’m having a difficult time figuring this out. Nothing is giving me an answer.
Am I making a css mistake? Or do I need to change all the template files with a get_sidebar code in a specific place?
- The topic ‘Default Theme: moving sidebar to the left side’ is closed to new replies.