• Resolved dragonfly66

    (@dragonfly66)


    I am building a static site, no posts. I need to have one page only have a different background color than the rest. I have a child theme and have been playing around with it but the css change is global. I’m thinking there is a way to do this by using the page id/name but when I use Firebug I don’t see anything specific to any page.
    https://finishingstrong.dvkweb.com/

Viewing 7 replies - 1 through 7 (of 7 total)
  • <body class="home page page-id-4 page-template-default custom-background single-author singular two-column left-sidebar">

    The identifier is right there:

    page-id-4

    Add something like this to your CSS file (in your child theme of course):

    body.page-id-4 {
        background-color: #FF0000 !important;
    }
    Thread Starter dragonfly66

    (@dragonfly66)

    Wow. I over think things sometimes. Thanks!

    HI, I am using Revolutions Lifestyle Theme, on https://www.onlinepsychicadvisors.com I would like to change the background color for one of my pages, but I am having trouble with this. I tried going into content, and changing it on my home page, but I ended up losing that style on the css page..so now, Im at a loss. I was afraid to go any further with it for fear I would lose more! My site pages are still in tact, but the color never changed for the background. It is white now, I would like to change it to a lavender. I hope someone can help with this! Thanks alot!

    As it turns out, My site pages are NOT still in tact! I thought they were until I went to my site to look at it. The reason I thought they were intact is because In edit, they are all showing up correctly. What can I do now? I tried to do a restore, but I have a question about that. Do I have to pick the files, one by one and do them that way? Or is there an easier way to go about this? I really hope you can help me!

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Have you contacted your theme’s vendors regarding your troubles?

    Yes I did..thank you..

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Excellent.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘How to change the background color of one page in twenty twelve’ is closed to new replies.