WordPress.org

Ready to get started?Download WordPress

Forums

question about style.css page (8 posts)

  1. mstamper
    Member
    Posted 9 years ago #

    i run wordpress for my blogs and i run phpwebsite for my content management sites.
    i have a question about the following site. http://www.wannaknowchrist.info (this is a phpwebsite)
    i want to make the page background the same as the title banner. i know the hex color i want to use but i cannot see where to change the color in the style.css page.
    here is a copy of the style sheet. if anyone can tell me where to put or what line to change you would be my hero.
    thanks
    mark

  2. TechGnome
    Moderator
    Posted 9 years ago #

    First, and don't take this the wrong way, but there was no need to post the entire contents. A simple link would have sufficed.
    Second, to set the background color of the page, set the background-color in the body section....

    body {
    background-color: #RRGGBB; /* use your hex value here */
    .
    .
    . all your other definitions in the body tag
    .
    .
    .
    }

    TG

  3. Mark (podz)
    Support Maven
    Posted 9 years ago #

    The code that is goverening the white are is
    HTML > BODY > table tbody tr TD
    So you need to take care of those last 3.
    CSS edited above - it can be seen using Firefox.

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    I don't see a bg change.
    But the bits of white are the top corners ? Because the images have rounded edges yet the image is still square. You'd probably need to redo the image in a graphics program - you can't set white to be transparent though as that would affect the inner box too.

  5. mstamper
    Member
    Posted 9 years ago #

    do you think changing those boxes to a shade of lighter blue or maybe a shade of gray would work color wise?
    if so what hex colors would you suggest?
    thanks again
    mark

  6. Root
    Member
    Posted 9 years ago #

    This is a very handy utility from my extensive repertoire of color widets. :)

  7. mstamper
    Member
    Posted 9 years ago #

    i have edited the style sheet to change the bg color. yet in ie6 sp2 it does not show. it does show up in ie5.5.
    someone earlier said that they did not see the change either. i do not know what browser they are using.
    how can i make sure this change will take place when viewed in ie6, 5.5, ff?
    i have looked for some sort of notation in the index.php for the site yet i do not see one. when i right click and look at the source code in note pad i see a comment for a white bg color, i think that color is in the text boxes, i am not 100% sure.
    i do not see any sort of direct html page or coding to change.
    please help
    thanks
    mark

  8. TechGnome
    Moderator
    Posted 9 years ago #

    1) It's background-color, not backgorund
    2) Add a ; to the end of it.... that's causing some of your grief as well.
    TG

Topic Closed

This topic has been closed to new replies.

About this Topic