Page 1 of 1
Different Menu Item
Posted: Sat Sep 02, 2006 11:15 pm
by tcustomgolf
I am using the "CSSMenu Horiz 1 col" column template and have my menu's going across the top of the page. For the rightmost menu item, I would like it to be different in terms of background and letter color. Any way of modifiying the template or sytlesheet to get just that one menu item to be different? I know any change to the menu stylesheet will be global across the menu. Can it be done with the menumanager module? And if so, and good docs (the wiki?) on how to use it?? Using CMS 0.13...
Thanks much...great product here and looking forward to implementing 1.0!
Re: Different Menu Item
Posted: Sat Sep 02, 2006 11:51 pm
by Dr.CSS
Is the last page always going to be the same?
If so you can put some calls in a, copy existing menu template, new template so you can use the class or id to style it.
Example of menu with multiple colored menu items, look under products.
http://www.blueoakom.com/ .
If you look at the source you will see things like...
id}[/color]" class="menuactive menuparent">id}[/color]"
you must use a letter before the
{$node->id}...
Re: Different Menu Item
Posted: Sun Sep 03, 2006 1:08 am
by tcustomgolf
Mark...thanx for the reply...yes, the last menu item on each page is the same (see here:
http://centennialelevator.com/index.php ... cy_contact.
The client wants the emergency contact menu item in red. The example you gave at blue oak looks good. I'll be doing it for that top level parent menu only...new to CMSMS, but I'll give it a go based on your example. I
t would seem to be difficult to do on the menu parent, as opposed to child menu's as blueoak is doing. Anyone have examples of colorizing different parent menu's...or a .tpl file that I can see this be done??
Thanx again...
Re: Different Menu Item
Posted: Mon Sep 04, 2006 2:17 am
by Dr.CSS
Once you have a node id as in a2 you can design/style any one individually, but once you do one you will have to call them all with a style...