• Resolved Cass

    (@rickcst)


    Hi,

    I’m just trying to make the entire background of this page white:

    https://rickcassettari.com/questions/

    I was able to change some of it by removing the footer, but the #main and #header part are being stubborn.

    This is what I’ve tried, and it won’t work:

    #page-id-281 {
    background-color: #FFF !important;
    }

    And I’ve tried variations with #main or #header after the page-id as well…

    Anyone?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Cass

    (@rickcst)

    Hi James, that worked very nicely, thank you. I don’t understand exactly how the code you provided works – if you have time – why do I have to include all the extra info such as border, display, padding, etc?

    I do have Firebug installed, though I find it easier to use the ‘inspect element’ feature of Firefox. Curious, is there an advantage to using Firebug?

    Not a problem. No, you do not have to add all lines, I just copied them all from your site. It will be enough with:

    #branding {
    background: #fff;
    border-bottom: none;
    }

    #main {
    background: #fff;
    }

    Actually, I don’t even know about inspect feature.

    BTW, wonderful photos!

    Thread Starter Cass

    (@rickcst)

    Thank you for the compliment!

    If you right-click in Firefox, select ‘Inspect Element’, and it will bring up a console very similar to Firebug. I find it easier to navigate this one, but it seems other people prefer Firebug.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Changing the color of one page’ is closed to new replies.