WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Header padding (8 posts)

  1. smoothb1
    Member
    Posted 3 years ago #

    how would i make a padding above the white page on my site originbmx.com

  2. Joey Kudish
    Member
    Posted 3 years ago #

    what white box are you referring to?

  3. smoothb1
    Member
    Posted 3 years ago #

    The whole sheet or page whatever its called

  4. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    padding will increase the existing white area:

    there is an embedded style (does your theme have a custom css option?):

    #wrapper {
    background:none repeat scroll 0 0 #ffffff;
    margin: 0 auto;
    padding: 10px 40px;
    border-bottom: 1.99px solid #A2A2A2;
    border-right: 1.99px solid #A1A1A1;
    border-left: 1.99px solid #A1A1A1;
    border-top: 1.99px solid #A1A1A1;
    border-radius: 6px;
    width: 880px;
    }

    where you could change the 10px value in this line padding: 10px 40px;

    if you mean to add a bit of space above the white, to let the body background show, then edit grey.css:

    body {
    	line-height: 1;
    }

    and add for instance margin-top: 20px; to it.

  5. smoothb1
    Member
    Posted 3 years ago #

    Ok thankyou i have done it now :) also do you know how to make the header and menu as wide as the white page but not change the sidebar and content?

  6. smoothb1
    Member
    Posted 3 years ago #

    I have tried floating it center and makeing it 110% width but its just sticking out to the right

  7. alchymyth
    The Sweeper & Moderator
    Posted 3 years ago #

    the extra white left and right comes from the padding left and right of #wrapper; you already know where to find this.

    http://www.w3schools.com/css/css_padding.asp

  8. smoothb1
    Member
    Posted 3 years ago #

    I have managed to get the menu to fit the page size but i cant get the header

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.