So I'm working with a non-wordpress theme called "Misty" and it uses this code to pull categories:
<li class="sidebox">
<h3><?php _e('Categories','ml'); ?></h3>
<ul id="catList">
<?php
if (function_exists('wp_list_categories'))
{
wp_list_categories("show_count=1&include=$catID&hierarchical=1&title_li=");
wp_list_categories("show_count=1&child_of=$catID&hierarchical=1&title_li=");
}
else
{
wp_list_cats('optioncount=1');
}
?>
</ul>
</li>
What sucks is that I cant style parent / child categories different, I want to indent child categories but they all go by class=category ID
$catID is how I want to filter posts. 3 different domains are coming to this blog and I am taking where they came from and filtering posts that way. So far I've filtered the category and showed that categories sub-categories, but the subcategories have no way to be styled.
What's a good work around to style the child categories? Is there somewhere I can just add another class to the child LI's?