Jump to content
Sign in to follow this  
nicolerazek

Content Pad Color

Recommended Posts

nicolerazek+    0
nicolerazek

Hello,

 

The site I am working on is currently under my testsite @ www.testsite4460.com.  I used firebug to find out how to change the color of the content pad.  I used the custom css:

 

#column-main

.mcolumn-pad {padding-left: 0px !important; padding-right: 0px !important,  background-color: #46539e}

 

This worked perfectly except I only want the blue color on the home page and not the rest of the sub pages.  Any idea on how to do this?

 

Thanks!

Nicole

Share this post


Link to post
Share on other sites
catrina    103
catrina

To prevent your css from affecting your other pages, please use this selector in your CSS instead:

body.home #column-main .mcolumn-pad

This code restricts the CSS to just the home page.


Please read the docs before posting. Please do not private message me unless I ask you to.

Designer | Catrina Dulay

Founder | Catrina and Mouse

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  

×