• I’m sorry if this has been asked a million times; I searched a number of combinations in the forum and couldn’t find it. I’d like to change the background color so the site is not so white. I’m fine with white behind my blog post, but maybe a different color behind it/sides/etc. I’ve tried copying people’s css code into the Customizing Additional CSS window, but nothing I’ve added there seems to affect the site in either the preview or if I hit publish. I’d like to use either DarkGray #A9A9A9 or SlateGray #708090 and I just can’t figure out how to do it. TIA WordPress Wizards!

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Using your DarkGray color, try this CSS statement:

    
    .site-content-contain {
        background-color: #A9A9A9;
    }
    
    Thread Starter jamifairleigh

    (@jamifairleigh)

    tarau you are a genius! Is there any way to lighten the color just behind the blog posts but leave the rest of the background darker? If not, I’m very happy with what I have. Thank you thank you thank you!!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    In the “Additional CSS” section of the dashboard add this:

    
    .single-post .site-content-contain {
        background-color: #fff;
    }
    

    https://codex.www.ads-software.com/CSS#Custom_CSS_in_WordPress

    Thread Starter jamifairleigh

    (@jamifairleigh)

    Hmm, that turns the whole background to #fff, instead of just behind the text of the post, so not exactly what I’m looking for. But it does let me put a different background on the post pages if I want it!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    I see. Try this instead:

    
    .site-content .wrap {
        background-color: #fff;
    }
    
    • This reply was modified 6 years, 9 months ago by Andrew Nevins.
    Thread Starter jamifairleigh

    (@jamifairleigh)

    That left some background color at the top and bottom, but the whole page, side to side, was white again. I have a feeling that the text part is linked to the sides and side menu and not floating over the top of the background like I assumed. Thanks so much though- I’ve learned a lot and the site is definitely closer to what I wanted!

    Hi, there, I’m glad my suggestion helped somewhat. It’s hard to know exactly what you need without being there.
    I think that my suggestion along with Andrew Nevins last suggestion might bring you closer to what you’re looking for.
    Here’s the CSS code combination (the colors are different than the ones you’ve suggested since I took it from one of my test pages):

    
    .site-content-contain {
        background-color: #355697;
    }
    .site-content .wrap {
    	background-color: #FAFAFA;
    }
    

    Hope it helps.

    Thread Starter jamifairleigh

    (@jamifairleigh)

    Thank you both so much!

    Hello;

    I’m using Twenty Seventeen Theme. in the panel area i have used white colors. But i have 8 web Pages, and want to put diferent colors in all pages. How can i do this?

    Regards

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Cannot figure out how to change background’ is closed to new replies.