Setting "selected" CSS on second level navigation when on third level page

Permalink
I have 3 levels of navigation. I hard coded the first/main.

I need to have the second level menu add a "selected" class to that navigation list, as well as the third level. So that when you're on the third level, 2 lists will have select li's. Is this possible?

The attached image is what the menu should look like.

Any suggestions?

1 Attachment

stephmars
 
stephmars replied on at Permalink Reply
stephmars
Got it. Sorry. Was obvious and I totally missed it.

If anyone else has this issue, go to the autonav block and go to view.php. Add your selected class to the appropriate spot under

if ($c->getCollectionID() == $_c->getCollectionID())