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


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

ul {
    font-weight: bold;

ul.children {
    font-weight: normal;
    padding-left: 15px;


Yep, exactly what I was looking for :slight_smile:

Thank you Awan!
Have a nice day.