Archived topic

Changing body background color for custom post type

5 replies · Started by Stefano on April 14, 2021

Viewing posts 1–6 of 6

Hi there!
I would like to change the background colour of the landing pages created with the custom post type.

I've read some forum threads and tried inserting this string but I see that it doesn't work.

body.page-id-2219 {
background-color: #000;
}

What can I do?
Thank you

Hi there,

try:

body.single-landing #page {
    background-color: #000;
}

Hi David!
I tried but it doesn't work :(

Aah you have a full width container - i updated the CSS above - try that.

Fantastic! You are great :)
Thanks for the support!

You're welcome

This archived topic is closed to new replies.