Support » Fixing WordPress » Page Wrap / Container & Body – Colour Control

  • Hi,

    I am having trouble controlling the colours of my body and wrap container for my site. For simplicity i’ve made these both red and yellow so it’s obvious to see what the problem is. Please take a look:

    I would like to be able to control the colour of the page wrap / container behind all my wordpress content (Header, posts, all page content) and the body of the entire page as two seperate things. I thought this would be fairly simple but I can’t get it to work. What am I doing wrong.

    Here’s the style sheet code:
    #wrap { width: 970px; margin: 30px; padding: 20px; background: #f40000; }

    body { font-family: “Helvetica”,Arial,Helvetica,sans-serif; repeat-x; background-color: yellow; }

    Please help!
    Many thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • What I may not have made clear was that in this instance I would like the wrap / container of the page to be all red (So all page content throughout the site would sit on red). I would then like the background of the site would be yellow.

    The effect would be red pages on a yellow background.

    Any help on how to achieve this would be greatly appreciated.
    Many thanks,

    I fixed it so no worries! If you search the web long enough you will find! Turns out all I needed to add was this little bit of code:

    overflow: auto;

    I reap the rewards 😀


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Page Wrap / Container & Body – Colour Control’ is closed to new replies.