Hi,
for a page I need to setting different logo and background color.
I tried for background with this css, but not work:
body.page-id-875, body.custom-background {
background-color: #2a5b8e;
}
And for change the logo in this page? Thank you
Hi,
for a page I need to setting different logo and background color.
I tried for background with this css, but not work:
body.page-id-875, body.custom-background {
background-color: #2a5b8e;
}
And for change the logo in this page? Thank you
I have change the logo with the plugin: WP Display Header.
I need to change the background-color for a single page
Thanks
You can simply change Background based on Page/Post ID like this:
body.page.page-id-875 {
background: red;
}
In your case you are targeting two different elements body.page-id-875
and body.custom-background
because comma between means that it is different element but wil use the same styling.
Thank you so much