SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Oct 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    twenty ten quick question- wordpress

    Hi all,

    Is it possible to take the header right to the edges of the white main body. For example, if i make the background black and then have the header right to the edges so that the black on the header is seamless with the background. Ive put a link her of what ive done so far.

    http://www.north-wall.co.uk

    thanks in advance

    Andrej

  2. #2
    SitePoint Enthusiast
    Join Date
    Aug 2011
    Posts
    85
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    I think you can do that by changing the padding of the wrapper id in your css.
    Code:
    #wrapper {
    	background: #fff;
    	margin-top: 20px;
    	padding: 0 20px;
    }
    change to
    Code:
    #wrapper {
    	background: #fff;
    	margin-top: 20px;
    	padding: 0px;
    }
    You're probably going to want to add 20px left padding to other items like the footer or title.

  3. #3
    SitePoint Member
    Join Date
    Oct 2011
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sir you are a star, many thanks. It worked a treat.

    Now all i need to achive is getting that header to the top of thew page, preferably without the annoying black 2/3 pixel width line that WP adds to it.

    Ive reduced the gap a bit between header and top of page but theres still a huge gap.

    i used

    #header {
    padding: 2px 0 0;
    }

    I did 0px but dont know how to completely close that gap. Trying to change the nv menu color from black to xzxczx is proving annoying too. Im new to all this.

    Many thanks


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •