- This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.
Home › Community Forums › Epik Theme Support › Custom CSS: Change Background Color on Specific Page
Hi –
Can anyone please share how to add code to the custom CSS field on pages/posts to change he background color of that particular page or post only?
Thanks!
Barbara
Are you talking about Body Classes?
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Yes – thanks!
There are a couple ways to do this. 1 – create a class in your css first.
Example –
.custom-bg {
background: yellow;
}
Then near the bottom of the Page editor you can enter that class in the “Body Class” field on the pages you want them to be displayed.
There are other ways to do this, you can take a look here – http://my.studiopress.com/snippets/custom-body-class/
and here – http://designsbynickthegeek.com/tutorials/dynamic-body-classes
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com
Thanks, Eric –
I will take a look!
You’re Welcome
I create awesome sites for awesome people! Contact me if interested – ericsanchez1585@gmail.com