WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Switch from Right to Left Sidebar (6 posts)

  1. miracle8
    Member
    Posted 7 years ago #

    Hi, how do I easily switch my sidebar from right to left on my site http://www.miracledays.com

    Thanks!

  2. webophir
    Member
    Posted 7 years ago #

    in your style.css of current theme:

    .narrowcolumn {float:left;
    to
    .narrowcolumn {float:right;

    and

    #sidebar {margin-left:545px;
    to
    #sidebar {margin-left:0px;

    This will change position of main content and sidebar only. But you need to modify margins/paddming of each block to make it look ok.

  3. miracle8
    Member
    Posted 7 years ago #

    webophir, excellent thanks.

    When you say you need to "need to modify margins/paddming of each block to make it look ok."

    How?

    What figures do I need to add on the padding etc.? And, how many blocks are there?

    Thanks

  4. miracle8
    Member
    Posted 7 years ago #

    Hi, also, in regards to "#sidebar {margin-left:545px"

    This doesn't appear on the stylesheet.

  5. miracle8
    Member
    Posted 7 years ago #

    Argghhh, this is a nightmare!

    Here is what I have now:

    .narrowcolumn {
    float: right;
    padding: 0 0 20px 45px;
    margin: 0px 0 0;
    width: 450px;
    }

    AND:

    #sidebar
    {
    padding: 20px 0 10px 0;
    margin-left: 40px;
    width: 190px;
    }

    However, as you can see on http://miracledays.com the main bulk of the text is skewered to the right and hangs off the template.

    How can I move the text slightly to the left to bring it closer to the sidebar?

    I've been fiddling with the css for ages and I can't get it.

    Cheers

  6. miracle8
    Member
    Posted 7 years ago #

    I've sorted it thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags