WordPress.org

Ready to get started?Download WordPress

Forums

Page Wrap / Container & Body - Colour Control (3 posts)

  1. chikajm
    Member
    Posted 3 years ago #

    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: http://chikamokwe.com/

    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,
    Chika.

  2. chikajm
    Member
    Posted 3 years ago #

    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,
    C.

  3. chikajm
    Member
    Posted 3 years ago #

    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;

    Perseverance.
    I reap the rewards :D

    Thanks,
    C.

Topic Closed

This topic has been closed to new replies.

About this Topic