WordPress.org

Ready to get started?Download WordPress

Forums

Twenty Ten theme size bar alignment! (4 posts)

  1. ohpinkybrain
    Member
    Posted 4 years ago #

    I can't move my sidebar alignment to the left in twenty ten theme..am i missing something in the style.css or is there another file i'm suppose to amend to move the size bar?

    thanks.

  2. Christopher Spires
    Member
    Posted 4 years ago #

    Try adding the following to your stylesheet:

    /* LAYOUT: Two columns-reversed
       DESCRIPTION: Two-column fixed layout with one sidebar LEFT of content */
    
    #container {
    float:right;
    width:100%;
    margin:0 0 0 -240px;
    padding:1em 0;
    }
    
    #content {
    margin:0 20px 0 280px;
    }
    
    #primary,#secondary {
    float:left;
    overflow:hidden;
    width:220px;
    }
  3. ohpinkybrain
    Member
    Posted 4 years ago #

    hi boda..sorry i meant move the side bar slightly to the left..i tried all the margin adjustments but the side bar doesnt move a bit or even slightly! i can't even move the sidebar upwards...

    you can see my site here >> http://www.blog.shoppilicious.com/

    if you look at the side bar i want to move it upwards align with the left side pink border..

    thanks..

  4. Christopher Spires
    Member
    Posted 4 years ago #

    Are you trying to make the sidebar content flush with the pink?

    If so try making these changes in your stylesheet:

    #container {
    float: left;
    margin: 0px -235px 0px 0px;
    width: 100%;
    }
    
    #primary, #secondary {
    float: right;
    margin: -30px 0px 0px 0px;
    overflow: hidden;
    width: 235px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic