Theming Drupal Blocks

Theming Drupal Blocks in a Zen Sub-theme

Adding block styles to your sub-theme are important for several reasons. My original objective behind learning to style blocks was to eliminate large  titles and awkward spacing that was inherited from the parent style sheets, especially the H2 tag. Once I got a grasp on how easy it was to style individual blocks or groups of them I started to utilize this more. Blocks.css comes packaged in your sub-theme's CSS directory with many useful classes and ID's listed (commented with their purpose as well).

Taking a look at the page source you can see how styles are applied to blocks...Read full article...


Syndicate content

Try2Stop.Us | Contact Us | Log In | Try2Stop.Us © 2011