New Zenner
- Join Date:
- Nov 2007
- Location:
- Pennsauken, NJ
- Posts:
- 71
- Plugin Contributions:
- 0
Changing CSS for ONE cat name, so it stands out in the sidebox
I tried to follow the directions in the tpl_categories.php file, but no joy. Here's the code:
// to make a specific category stand out define a new class in the stylesheet example: A.category-holiday
// uncomment the select below and set the cPath=3 to the cPath= your_categories_id
// many variations of this can be done
case ($box_categories_array[$i]['path'] == 'cPath=36'):
$new_style = 'category-clearance';
break;
case ($box_categories_array[$i]['top'] == 'true'):
$new_style = 'category-top';
break;
case ($box_categories_array[$i]['has_sub_cat']):
$new_style = 'category-subs';
break;
and the stylesheet addition is:
.category-clearance a:link, .category-clearance a:visited, .category-clearance a:active {
font-size:larger;
color:#FF0099;
}
but there is no change in the category name "clearance" which is what I am trying to effect.
Any suggestions as to what I'm doing wrong?
Chris