Archived

This topic is now archived and is closed to further replies.

  • 0

Content Pad Color

Question

Posted · Report post

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

1 answer to this question

Posted · Report post

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.

Share this post


Link to post
Share on other sites