Jump to content


Photo
- - - - -

Content Pad Color


  • Please log in to reply
1 reply to this topic

#1 nicolerazek

nicolerazek

    Newbie

  • Members
  • 4 posts
  • Country: Country Flag

Posted 30 January 2013 - 06:30 PM

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



#2 catrina

catrina

    Advocate

  • Members
  • 12345 posts
  • LocationCalifornia
  • Country: Country Flag

Posted 30 January 2013 - 06:51 PM

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

Please Login or Register to see this Hidden Content

This code restricts the CSS to just the home page.