You're using a sledgehammer to crack a nut.
To make top categories bold font, if you are using Categories Dressing, add to the generic stylesheet rules
Code:
#categories ul a {/*top categories*/
display: list-item;
list-style: disc inside url(../images/bullet1.gif);/*change to list-style: none; to remove bullet*/
background: no-repeat;
border: none;
margin: 0;
padding: 0;
font-weight: bold;
}
#categories ul ul {/*subcategory lists*/
list-style: none;
background: #ffeecc;
border: none;
margin: 0 0 0.4em 0;
padding: 0 0 0 1.3em;
}
#categories ul ul a {/*subcategories*/
display: list-item;
list-style: circle inside url(../images/bullet1.gif);/*change to list-style: none; to remove bullet*/
background: #ffddbb;
border: none;
margin: 0;
padding: 0;
font-weight: normal;
}
The "bold" sets the weight to bold for all categories, and the "normal" sets it back to normal for subcategories.
Another way to do the same thing would be to add a new rule
Code:
#categories li.cat-top a {
font-weight: bold;
}
Bookmarks