autonav problems
Permalink
Hi i am using jordan levs new autonav template. There is a section that allows me to add a class to the first top-level and first item in each dropdown sub-menu. What i really need is to only apply a class to the top-level elements and not to the first element in the sub-menu. How can this be done ?
if ($ni->isFirst) { //class for the first item in each menu section (first top-level item, and first item of each dropdown sub-menu) $classes[] = 'nav-first'; }