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

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

    thanks in advance

Viewing 1 replies (of 1 total)
  • Yes. Take the padding out of the wrapper div:

    #wrapper {
      ...
      padding-left: 20px;   /* Change this to zero */
      padding-right: 20px;  /* Change this to zero */
      ...
    }

    Of course you may then have to restore some padding/margin on some other divs like #site-title, for example, but it doesn’t look too hard.

    Since you’re using twentyten, which is one of the default themes you really must do all your customisations in a child theme to avoid updates overwriting them. If I understand things correctly, updates to WP itself might include updates to the default themes, so you don’t have much choice but to carry them out (unless you want an outdated and insecure site).

    I don’t know how likely this is, but other people on this forum who know much more than me are very definite in their view that default themes should never be customised except through a child theme.

    And since a child theme takes about 5 minutes to create, I see no reason not to follow their advice. See this Codex article.

    HTH

    PAE

Viewing 1 replies (of 1 total)
  • The topic ‘twenty ten quick question’ is closed to new replies.