Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #550

    Hello. How do I switch the sidebar position to the right side of the page on Posts and Pages?

    #31895

    This question relates the Display theme.

    #31896

    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

    #31897

    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?

    #31898

    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 Dude

    #31899

    That worked thanks. I also had to swap the margin information between sidebar and content so they are spaced correctly. All good now. Thanks.

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Move sidebar on pages and posts to the right’ is closed to new replies.