• Hi guys,

    I’m using the CW Red 1.2 by CreateWebsites.pl. I wanted to change the background color from the gray gradation to a sort of ivory color to better match the background image. I started to search through the html to find what color to change, and in doing so changed something so that on certain pages the bottom half of the content page is a different color (white). An example is this page http://mkkhtestsite.in/?page_id=89 – if you scroll down the gray stops and it’s just white and looks awful. If anyone could tell me where I can find the code to change this back and/or change the whole background color I’d really appreciate it.

    Thanks!
    Meg

Viewing 2 replies - 1 through 2 (of 2 total)
  • The relevant bit is in this style clause…

    #content {
    background: url(img/content.gif) repeat-x beige;
    min-height: 470px;
    margin: 0px 34px;
    padding: 20px;
    }

    starting on line 16 of style.css.

    The problem is that content.gif is only 588px high, and you have it set to only repeat-x, with a beige background. If you want to remove the gradient all together, then you must remove the background image from the CSS and simply put in a color:

    ie., remove the line background: url(img/content.gif) repeat-x beige; and add “background-color: beige;‘ in its place.

    Thread Starter mkhersta

    (@mkhersta)

    Thank you SO much! I am completely clueless about this stuff, you’re fantastic.

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

The topic ‘Background color html issue’ is closed to new replies.