Superfish top level active link marker
Permalink
I am using superfish as my primary menu.
When someone is on a page in a sublevel of the menu I would like that pages top level link to show the active CCS element too.
ie In the main menu I have rolled over "products" and selected "product d" from the drop down menu. Once the page is loaded I would like the top level link of "products" to show up as active so that the users have some idea where they are on the site.
I guess there needs to be an extra call in the php of the view file using the "nav-selected" css element to do this but my php knowledge is near zero at present.
Any help would be gratefully received.
Cheers
David
When someone is on a page in a sublevel of the menu I would like that pages top level link to show the active CCS element too.
ie In the main menu I have rolled over "products" and selected "product d" from the drop down menu. Once the page is loaded I would like the top level link of "products" to show up as active so that the users have some idea where they are on the site.
I guess there needs to be an extra call in the php of the view file using the "nav-selected" css element to do this but my php knowledge is near zero at present.
Any help would be gratefully received.
Cheers
David