Hello. How do I switch the sidebar position to the right side of the page on Posts and Pages?
Move sidebar on pages and posts to the right
6 posts from 2 voices-
Posted 2 years ago #
-
This question relates the Display theme.
Posted 2 years ago # -
Just change following code in your style.css file:
#sidebar{ width:280px; overflow: hidden; margin-right:50px; position:relative; float:left; }to
#sidebar{ width:280px; overflow: hidden; margin-right:50px; position:relative; float:right; }Feel free to ask if you've any other problems.
The Dude
Posted 2 years ago # -
Hi. Thanks for the advice. But this hasn't worked for me. Do I have to change any connected code in the style2 the style sheet for the minimal version of the theme?
Posted 2 years ago # -
No, sorry my fault. I forgot that you need to change something else too. In style.css you'll find:
#content { float:right; margin:0; overflow:hidden; position:relative; width:610px; }replace it with:
#content { float:left; margin:0; overflow:hidden; position:relative; width:610px; }Please also make the modifications I described above (in my first answer) to your style.css.
The DudePosted 2 years ago # -
That worked thanks. I also had to swap the margin information between sidebar and content so they are spaced correctly. All good now. Thanks.
Posted 2 years ago #
Reply
You must log in to post.














