Jump to content
Sign in to follow this  
grahamd79

i want to change the color of the content area on each page to a different color

Recommended Posts

grahamd79

i am trying to change the color of the content area so each page has a different color for the content area or a background image i am currently using this code to change the body background color for each page is there anyway of adapting this code to change each content area to a different color or image? body.page-id-2 { background-color: #ee00ee; } if not is there some way of changing the content area color which is currently white.

Share this post


Link to post
Share on other sites
Danny

Hi Graham, Use the following code and simply change the page id to match the page in which you wish to have this color. The simply copy the code and again change the id to represent the id of a different page.

.page-id-42 #content .content { background: red; }


Please search our forums, before posting!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×