• I want to change the BG color on only one page and I copied and pasted the following into Custom CSS under Appearance but nothing seem to chang I used the following CSS

        body.postid-46345 {
    background-color: #FFFFFF !important
    }
    Any Ideas as to what I am doing wrong.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • You have save this in custom CSS:

    .post-id #46216 { background-color: #FFFFFF !important; }

    But is should be what you have posted above.

    Thread Starter caleywebmaster

    (@caleywebmaster)

    Does it matter if it is in Custom CSS or Additional CSS?
    Yes I have saved this in Custom CSS
    But it still does not work !!!!

    See Link https://mgcaledonian.com/css-view-of-post/

    You have the wrong code in the screenshot on your page again. This one would be correct:

    body.postid-46345 {
    background-color: #FFFFFF !important
    }

    Unfortunately, I don’t know what you mean by custom CSS. Presumably this comes in through a plugin from you or your theme. At least it also sounds right. As I said, I also see this code on the page – it’s just still the wrong one.

    Thread Starter caleywebmaster

    (@caleywebmaster)

    This is what you gave me on Thu @ 20:42 it had no “body” before post-id.

    You have save this in custom CSS:
    .post-id #46216 { background-color: #FFFFFF !important;
    }

    But is should be what you have posted above.

    Now using
    body.post-id #46216 { background-color: #FFFFFF !important;
    }

    And it still does not work.

    Should there be a . (period) before Body and or a space between body and . (period)
    Like this .body .pos-id

    The two possible places to insert the CSS, is either one better than the other?
    Link to Screen view https://mgcaledonian.com/wp-content/uploads/2025/03/Screen-Shot-of-CSS-v2.png

    Please read the text I wrote – not just the code. Because your further attempt to use the code is also incorrect.

    Again: this one would be the correct code:

    body.postid-46345 {
    background-color: #FFFFFF !important
    }

    Don’t change anything on it. Accept it as it is. So far you have always made adjustments so that it can no longer work.

    Thread Starter caleywebmaster

    (@caleywebmaster)

    OK I have used it as you sent it, copied and pasted it in and NO that does not work either.
    There must be something else stopping it Working.

    Sorry to be such a nuisance
    Link to newest
    https://mgcaledonian.com/color-check-test-v3/

    I don’t see the code in any output from your website. I think it depends on HOW you insert the code WHERE. You talked about a menu item “Custom CSS”. Does it come from your theme or a plugin? If you enter the code under Appearance > Customizer > Additional CSS, it should work – if not, some plugin you’re using or your theme is interfering.

    Thread Starter caleywebmaster

    (@caleywebmaster)

    Screen shot of where it was and still is.?
    Looks as though I ‘ll have to go through each plugin and deactivate,
    I thought that this might have to be done.?

    You can see it is in? Appearance >Customise>Additional CSS

    https://mgcaledonian.com/color-check-test-v4/

    First deactivate your caching plugin “WP Fastest Cache”. This will prevent a lot of things from being seen live.

    You also have “WP Meteor” active at the same time, which does the same thing as “WP Fastest Cache”. Deactivate this plugin as well.

    If it works without it, keep testing the CSS until it does what you want and then activate only one optimization plugin – never 2 or more.

    Thread Starter caleywebmaster

    (@caleywebmaster)

    There is something causing this problem, probably never know what it is.

    So the time has come to shelve this, so all I now want to say is thanks for you Valuable help.

    Is it OK to mark this unresolved

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.