Title: Make sub categories indent
Last modified: August 18, 2016

---

# Make sub categories indent

 *  [carl_in_florida](https://wordpress.org/support/users/carl_in_florida/)
 * (@carl_in_florida)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/make-sub-categories-indent/)
 * I have read the codex and tried everything suggested.
 * I want my child categories to be indented. That’s all. The only thing I have 
   been able to do is change whether or not the categories list alphabetically or
   not.
 * Any help?
 * Version 2.0
 * I am not using any category plugin.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/make-sub-categories-indent/#post-334507)
 * Have you tried the ` hierarchical` parameter in the
    [list_cats()](http://codex.wordpress.org/Template_Tags/list_cats)
   or [wp_list_cats()](http://codex.wordpress.org/Template_Tags/list_cats) [Template Tags](http://codex.wordpress.org/Template_Tags)?
 *  Thread Starter [carl_in_florida](https://wordpress.org/support/users/carl_in_florida/)
 * (@carl_in_florida)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/make-sub-categories-indent/#post-334776)
 * Not sure how the template tags would help and I tried every variation of the 
   listcats()and the only variation i could achieve was weather or not it was alphabetical.
 *  [Ming](https://wordpress.org/support/users/ming/)
 * (@ming)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/make-sub-categories-indent/#post-334781)
 * I think wp_list_cats assigns a class of “children” to sub-categories. So .children{
   margin-left: 8px; } sort of thing should do the trick.
 *  [flammobammo](https://wordpress.org/support/users/flammobammo/)
 * (@flammobammo)
 * [20 years ago](https://wordpress.org/support/topic/make-sub-categories-indent/#post-334977)
 * Thanks Ming you helped me work myn out. I used this in my style.css:
 * #leftside ul.children li a {
    margin:3px 0 2px 10px; }

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Make sub categories indent’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 4 participants
 * Last reply from: [flammobammo](https://wordpress.org/support/users/flammobammo/)
 * Last activity: [20 years ago](https://wordpress.org/support/topic/make-sub-categories-indent/#post-334977)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
