WordPress.org

Ready to get started?Download WordPress

Forums

Moving one sidebar over to the left side (I have two on the right). (1 post)

  1. TmVikholt
    Member
    Posted 1 year ago #

    I am blogging at trinemarie.com using the Sundance theme and I'm trying to make some changes.

    I figured out how to add a second sidebar, but when I did it ended up under the first one on the right side of my blog. What I want to do is move one of them (the original one) over to the left side and have the content of the blog be in the middle.

    The first thing I did was to move <?php get_sidebar(); ?> to right under the header, instead of putting it right before the footer, in all of the files it was present in. This didn't seem to make a difference whatsoever.

    Now I'm not sure what changes need to be made in the style.css file.There is a section labeled "Structure" that says this:

    #page {
    margin: 0 auto;
    max-width: 984px;
    padding: 3.4285714285em 0.5714285714em 0;
    }
    #masthead {
    margin: 0 0 3.5em 0;
    }
    .site-content {
    float: left;
    margin: 0 -22.76422764% 0 0;
    width: 700px;
    }
    #content {
    margin: 0 22.76422764% 0 0;
    }
    .full-width #content,
    .image-attachment #content,
    .no-sidebar #content,
    body.error404 #content {
    margin: 0;
    }
    #secondary {
    float: right;
    margin-top: 0.7142857142em;
    overflow: hidden;
    width: 200px;
    }
    .site-footer {
    border-top: 1px dotted #b3b3b3;
    clear: both;
    margin: 1.5714285714em 0 0 0;
    padding: 1.5714285714em 0 1.5714285714em 11.17886178%;
    }
    /* Alignment */
    .alignleft {
    display: inline;
    float: left;
    margin-right: 1.5714285714em;
    }
    .alignright {
    display: inline;
    float: right;
    margin-left: 1.5714285714em;
    }
    .aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

    I tried simply changing the "right"s to "left"s, but that did nothing. I would really appreciate any help!

Topic Closed

This topic has been closed to new replies.

About this Topic