How do I differentiate .content in right-sidebar and left-sidebar

gleble - March 11, 2008 - 18:19

I want to differentiate .content in right-sidebar and left-sidebar so I can apply different .css. How?

Generally each region has an outer div

nevets - March 11, 2008 - 18:36

Generally each region has an outer div with a unique id, something like <div id="left-sidebar">...</div>. You can then use that id to apply different styling to .content like this

#left-sidebar .content {
  ... your css rules go here
}

Get yourself Firebug

JoepH - March 11, 2008 - 20:03

Get yourself Firebug (http://www.getfirebug.com). It will help you to identify all the div id's and classes used.

-----------------------------------------
Joep
CompuBase, Drupal websites and design

 
 

Drupal is a registered trademark of Dries Buytaert.