Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28312
    Flipipip
    Member

    Hello there.

    I’m trying to change the content background colour (not header, footer… none of that…. just the content, text area) on one specific page (using a child theme). The page has images, so I want a darker background then the rest of the pages, which have text.

    I have tried quite a number of combinations in the style.css, none of which worked (obviously). The following are currently failing to achieve the desired effect:

    .page-id-75 .site {
    background-color: #403C3C”;
    }
    .page-id-75 .entry-container {
    background-color: #403C3C”;
    }
    .page-id-75 .container {
    background-color: #403C3C”;
    }
    .page-id-75 .entry-content {
    background-color: #403C3C”;
    }
    .page-id-75 .container {
    background-color: #403C3C”;
    }

    Any tips??

    Thanks a million!

    #28382
    Sakin
    Keymaster

    @Flipipip: You should have added your site URL. So, that I could check in details.
    Try the following css.
    .page-id-75 #main { background-color: #403C3C; }

    #28938
    Flipipip
    Member

    Hello,

    Thanks so much for that, worked a treat. I was working on a local version so had no url to share. However, site is up and running now at: http://www.byspokes.org – just missing a few final tweaks.

    Thanks again!

    #28977
    Sakin
    Keymaster

    @Flipipip: Site looks nice 🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Change content background colour – specific page’ is closed to new replies.