How to add more "Block class" to template?
I want to customize many block color in my template, how to create a new "Block class" in template?

example this:
http://imagebin.org/index.php?mode=image&id=226267

is that possible add hilite4, hilite5...with different css? I know css but dont know programming.

Comments

nevets’s picture

The Block Class module should help.

andersin88’s picture

thank.

turbogeek’s picture

Use a preprocess block, please see below:

function YOURTHEME_preprocess_block(&$variables) {
  $variables['classes_array'][] = 'yourclass';
}