TFF in menu + color change
Posted: Thu Aug 27, 2009 7:26 pm
Hi guys,
I am running CMSMS 1.6.3. I want to use a truetype font in my menu.
I've edited the included standard simple_navigation.tpl navigation menu, so I can use truetype fonts in the menu through the text embellisher.
I have replaced all instances of
{$node->menutext}
with
{cms_module module="TruetypeText" style="menustyle" text=$node->menutext}
and it works just perfect!
Now, my question is, is there a way for the active/selected menu item to be another color? I will need to edit simple_navigation.tpl, but I don't know how. Maybe it could call another pre-defined embellisher style that uses color, called "menustyleselected"?
Any help is greatly appreciated!
Kind Regards, Jonas
I am running CMSMS 1.6.3. I want to use a truetype font in my menu.
I've edited the included standard simple_navigation.tpl navigation menu, so I can use truetype fonts in the menu through the text embellisher.
I have replaced all instances of
{$node->menutext}
with
{cms_module module="TruetypeText" style="menustyle" text=$node->menutext}
and it works just perfect!
Now, my question is, is there a way for the active/selected menu item to be another color? I will need to edit simple_navigation.tpl, but I don't know how. Maybe it could call another pre-defined embellisher style that uses color, called "menustyleselected"?
Any help is greatly appreciated!
Kind Regards, Jonas