WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Need little help (5 posts)

  1. vekkata
    Member
    Posted 1 year ago #

    this is my blog http://interest2world.co.nf/
    Do you see the space between right border and content ( http://i.imgur.com/iY5PW.jpg ) , it's too much for my taste, I want to make it smaller. Also the space at left, between the ads and border ( http://i.imgur.com/dtW6v.jpg ) , I want that space to be smaller and if it's possible to increase space between content and ads ( http://i.imgur.com/qKkZg.jpg )
    Apology for my english.
    Can anyone help ?

  2. tylerhq
    Member
    Posted 1 year ago #

    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.

  3. vekkata
    Member
    Posted 1 year ago #

    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 !

  4. tylerhq
    Member
    Posted 1 year ago #

    #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.

  5. vekkata
    Member
    Posted 1 year ago #

    THANK YOU !

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.