Customize/styling categories (links in side bar)

Hello guys.

Is it possible to style posts categories in side bar using additional CSS section?
Let’s say to have main category in bold and child category indented under main category?

For example:
Main Category 1
- sub category 1
- sub category 2
Main Category 2
- sub category 1

In default setting it is hard to distinguish which is child and which is parent category.
They kind of blend with each other when you tick “show hierarchy” check-box in categories widget.

Thank you
phrase

Hi,

Firstly, please tick the “show hierarchy” option in the Category widget and then put this CSS code in Additiona CSS section:

ul li.cat-item {
    font-weight: bold;
}

ul.children li.cat-item {
    font-weight: normal;
    padding-left: 15px;
}

Regards,
Awan

Yep, exactly what I was looking for :slight_smile:

Thank you Awan!
Have a nice day.

Regards
phrase