HTML code
<div class="category-<?php echo $this->category->id; ?>">....</div>
CSS code
div.category-2 .contentheading {color:pink}
This will give you wrapper classes of "category-2", "category-3" etc, where the numerical value is equal to the category ID in the back-end, you can then style up the individual elements.


