• Resolved phantommeb

    (@phantommeb)


    Hello,
    I just need a little help with an issue I can’t figure out:

    I put in CSS for a white background to show up around the content, but it’s not showing up no matter what I do. First, I just set the background-color to #FFF, which worked in html, but not once in WP. I also tried creating a small white square and tiling it.

    Here’s my CSS code:
    http://pastebin.com/embed_js.php?i=7mYnmew9

    The website I’m talking about is http://www.joaniesimon.com.

    I’m rather new to this, so any insight would help. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter phantommeb

    (@phantommeb)

    Anyone have any idea?

    Try adding these two lines to the end of style.css:

    #main { background-image: none; background: #FFF; }
    body { background-image: none; background: #FFF; }

    I put in CSS for a white background to show up around the content

    can you explain what your content container is?
    is there any content?
    and where exactly (to what css class or id) did you add the background color?

    also, don’t use purely numerical css ids, such as #4.

    also, you are using the css class .container in two different divs – that might make the formatting less clear.

    Thread Starter phantommeb

    (@phantommeb)

    Ah okay I figured it out…I did have two .container divs which screwed it up. How did I miss that one??

    So now I have white backgrounds except for the blog page…any idea on that one?

    there is no div with the css class .bodytext in the blog page.

    check the code of the loop in the blog template (index.php ?)

    the blog posts still use the duplicate .container class.

    example from the browser output:
    <div class="container" id="40">

    Thread Starter phantommeb

    (@phantommeb)

    Ah yeah, I had to put the bodytext tag into one more place…but it was on the home.php page that worked oddly enough. Anyway, all fixed and thanks for your help!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Where's my background?’ is closed to new replies.