Homepage › Community Forums › Epik Theme Support › Custom CSS: Change Background Color on Specific Page
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?
Are you talking about Body Classes?
I create awesome sites for awesome people! Contact me if interested – firstname.lastname@example.org
Yes – thanks!
There are a couple ways to do this. 1 – create a class in your css first.
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
Thanks, Eric –
I will take a look!
Does your Site need a Fresh New look? Need help with some customizations? Whether it's a Large or Small Project, we can help! Check out some of the products and services we offer and make sure to Contact Us to see how we can assist!
Copyright © 2023