There is no #current id in use at all, so it will do nothing in your stylesheet. Thismakes the .category-subs-selected class for the current category, so you could stylePHP Code:// currently selected category
if ((int)$cPath == $categories_tab->fields['categories_id']) {
$new_style = 'category-top';
$categories_tab_current = '<span class="category-subs-selected">' . $categories_tab->fields['categories_name'] . '</span>';
.category-subs-selected {what: ever;}
Not only won't #navCatTabs #current a { work, the elements are in the wrong order. You need
#navCatTabs a .category-subs-selected {if you want to be that specific. You do need to include #navCatTabs in the selector if you don't want the styling to apply to the categories sdebox.


Reply With Quote
