By Dr_Tom on
Hi, I'm sorry if this question is a pretty basic one, I've been charged with making a website for our company but haven't got a huge amount of experience in these things!
I've managed to cobble together a half decent menu system using modified versions of nokoala and nice_menus, but I'd like to make it such that the parent nodes (which are shown all the time in a horizontal bar at the top of the site) are highlighted when one of their children is active. Could anybody shed some light on how to do this? I presume it has something to do with the css files.
If you want to have a look at the site, its at www.masonryarch.com
Thanks, Tom
Comments
Add the code below to your template.php
Add the code below to your template.php, this is an override function. I've used it when I created the Aberdeen theme and it does what it says on the tin ;)
It provides you a lot of flexibility for your CSS.
Cheers :-)
Thanks...I'll give it a go now.
Server probs
As usual ,a server malfunction has scuppered my chance of doing anything to the website...but I'll try soon :-)
Any chance for modification
Any chance for modification of this function to show the sub menus?
Awesome
Thanks JBGood. I needed this too. This will save me a ton of time.
--Zivtech--