I’m using the AVH Extended Categories plugin to control the display of categories in a new blog, and was having problems getting it to show the hierarchy in a user-friendly way. This code below will do the trick for up to 2 levels of child categories, the background-position is for the bullet image already included in the main list styling. This isn’t really AVH specific, it can be used for any vertical menu, and the class ‘children’ is something WordPress automatically applies to all the subpages of a given parent page.
1st child level:
.sidebar-box ul.children li a:link,
.sidebar-box ul.children li a:visited,
.sidebar-box ul.children li a:active {
width: 208px;
padding: 5px 10px 5px 55px;
background-position: 30px 10px;
}
2nd child level:
.sidebar-box ul.children ul li a:link,
.sidebar-box ul.children ul li a:visited,
.sidebar-box ul.children ul li a:active {
width: 188px;
padding: 5px 10px 5px 75px;
background-position: 50px 10px;
}
Here’s the styled nested menu in action (left sidebar).


