wp_list_categories, only alter parent css
-
Example:
(1) Comedy*
(2)Movie 1
(3)Movie 2
(4)Movie 3(5) Drama*
(6)Movie 1
(7)Movie 2
(8)Movie 3(x) = category ID
* = parent categoryIf I do
li.cat-item-1 {
font-weight:bold;
}
and
li.cat-item-5 {
font-weight:bold;
}
then I’ll get categories 1-8 all bold. How can I leave 2-4 and 6-8 alone while making 1 and 5 bold?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘wp_list_categories, only alter parent css’ is closed to new replies.