WordPress.org

Support

Support » Themes and Templates » [Resolved] Need little help

[Resolved] Need little help

Viewing 4 replies - 1 through 4 (of 4 total)
  • Your theme has CSS styles on the content container:

    #wrapper {
      background-color: #fff;
      padding: 0px 30px 20px 30px;
    }

    See the padding there has 4 entries: TOP, RIGHT, BOTTOM, LEFT.
    You can edit the LEFT and RIGHT in your theme to be something more like 20px.
    Also, your content has styles:

    #content {
      background-color: #fff;
      margin: 0px 0px 0px 0px;
      padding: 0 0 0 0;
      width: 750px;
      float: left;
    }

    It looks like you might be in the middle of switching sides for content and sidebar, but the way your images are above, you should change the padding and width to something like:

    #content {
      background-color: #fff;
      margin: 0 0 0 0;
      padding: 0 0 0 15px;
      width: 735px;
      float: left;
    }

    This shrinks the width of the content a bit and adds the same amount of spacing.

    Thank you very much !

    Now when I changed the sidebar position from left to right, I cant figure out how to add space between sidebar and content. I understood how to change the space between border and content/sidebar. Thanks you !

    #content {
      background-color: #fff;
      margin: 0;
      padding: 0 RIGHT 0 0;
      width: WIDTH;
      float: left;
    }

    Subtract some WIDTH first, then add in a little padding-right. You can do this repeatedly, guessing and testing values, or use Chrome/Safari’s Inspect Element.

    I see that right now, the wrapper isn’t big enough for your sidebar and content widths. Get out a calculator and lay it out with numbers – so that the sidebar wraps down below the content.

    THANK YOU !

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Need little help’ is closed to new replies.