Cannot use CSS to change single page color

[ad_1]

I’m trying to change the background of a single page using the CSS customizer. It’s seems like such an easy code, but it’s not being recognized. What am I doing wrong?? I’ve tried every variation of .body.page-id- and .pageid- and everything I can think of!

​

ETA: I’m using a Restored316 theme on Kadence

​

https://preview.redd.it/qc7v8mn1tcjc1.png?width=558&format=png&auto=webp&s=d47944e10affc6d337d3c05d577eff893136c0de

[ad_2]
1 Comment
  1. Without a link to your page, we can only guess.

    Have you actually inspected the source of the page and verified that your class is on the body? Have you inspected the body to see if your style IS being applied, but possibly overwritten by a more specific style? Those are really the only two things that could be in play here.

    1. .page-id-82268 doesn’t exist on the page, or isn’t on the body tag, or is somewhere else and isn’t noticeable
    2. Your body tag does have class=”page-id-82268″ and your style is being applied, but the theme/plugins/page-builder are overwriting your style. Tossing an !important on it could help verify.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer