Category list styling with Category Expander plugin from http://gadgets.silenz.org
I have installed this plugin which looks like this:
{exp:cat_expand:wrapper}
{exp:weblog:categories weblog="{my_weblog}" style="nested"}
{exp:cat_expand:expander category="{category_id}" active-style="font-weight:bolder;"}
<a href="http://{path={my_template_group}/index}">{category_description}</a>
{/exp:cat_expand:expander}
{/exp:weblog:categories}
{/exp:cat_expand:wrapper}I have managed in a roundabout way to style this but I cannot get any further.
I have put in this style:
.nav_categories ul {
list-style: none;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 0em;
padding-left: 0em;
text-indent: 1em;
}
.nav_categories li {
list-style: none;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 0em;
padding-left: 0em;
background-color: #cccc00;
}
.nav_categories li ul {
list-style: none;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 10px;
padding-left: 0em;
background-color: #999900;
text-indent: 1em;
}
.nav_categories li ul li {
list-style: none;
margin-top: 3px;
margin-bottom: 3px;
margin-left: 0em;
padding-left: 0em;
text-indent: 0em;
}Can anyone help me to achieve something along the lines of the attached illustration?
Thanks, Paul