• Hi. Im using divi and created a static page and a posts page. When you click on a posts page, the header colour is cream-ish as i wanted but i dont know how to change the main background body/container color to be same cream color.

    I dont know coding or css well and not even sure where to dd the code, even if i knew the code

    any help would be appreciated cos its driving me crazy

    thanks

    andrej

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Phil

    (@owendevelopment)

    If this is just for single post backgrounds, add this CSS to match the body colour to the header:

    
    .single-post #main-content {
    background-color: #f9f9f4 !important;
    }
    

    It’s hard to know where to add this as some themes allow custom code to be added in the theme options page, or in a custom CSS file they include, but you could always try: ‘Appearance’ -> ‘Customize’ -> ‘Additional CSS’ first.

    Hope that helps!

    Thread Starter andrejwout

    (@andrejwout)

    hi, thanks for help. I tried it on posts and pages with a css editor but nothing seems to have changed. Its very very strange, im pretty puzzled.

    Thread Starter andrejwout

    (@andrejwout)

    hi again…..that worked in the end…my post pages are uniform, thank god!! thanks for that!!

    My only final problem is trying to get my archive page to also be uniform in color(in the same manner as the post pages) I cannot work out in divi how or where to change that at all. Also i have hidden the sidebar in posts pages too, but cant do that in the archive pages either.(using content aware) By archive page i mean the page that you link to from the categories set in the header menu category titles, if that makes any sense.

    post page look like this now:

    https://blackdogonfood.online/sticky/the-good-the-bad-the-downright-ugly/
    (though i wish to god i could get rid of the separator/divider)

    wanted my category/archive page to look the same but its ended up being like this:

    https://blackdogonfood.online/category/news/

    anyway, help has been great so far and hopping to solve those last glitches. If anyone knows please yell in my direction

    cheers

    andrej

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘background colour on posts page’ is closed to new replies.