Different Menu Item

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Locked
tcustomgolf

Different Menu Item

Post 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!
Last edited by tcustomgolf on Sat Sep 02, 2006 11:17 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Different Menu Item

Post 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}...
tcustomgolf

Re: Different Menu Item

Post 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...
Last edited by tcustomgolf on Mon Sep 11, 2006 5:35 pm, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Different Menu Item

Post 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...
Locked

Return to “Layout and Design (CSS & HTML)”