One page different background color. Overwrite the theme options one

Hi,

Do you know how to change the color on a single page and keep the same background (png) image as the other pages on the same site?

I put some css in:

.page-id-225 .site { background-color: #0093d9; }
https://oosterleeschool.nl/nieuw/kwaliteit-2/

The background image should be like:
https://oosterleeschool.nl/nieuw/kwaliteit-basisschool-2/

I tried

.bgcolor
{
background-color: #0093d9;
}

But it didn’t seem to work.

Hope you can help!

Regards!

Thomas

Hi Thomas,

Thanks for reaching out.
It is not very clear what exactly you are trying to acheive. If you are trying to change the background color of a single page, you can add CSS code into the Page CSS so it will be only applied to that page.

Hope it helps.
Thanks

Hi, i am indeed trying to change the color of a single page. however it doesn’t seem to be working. i tried putting it in the page CSS but it’s still the same

Hi Thomas,

I have checked your website again but didn’t find the .bgcolor class added anywhere in the DOM, you can use the .site or body to apply the style. If that does not work, please try adding the !important to set the priority to your code over the other code. If that does not help, please provide login credentials for your site in a secure note to examine it further, including:

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.