Page 1 of 1

Has anyone made a multicolored menu?

Posted: Wed Oct 14, 2009 12:56 am
by Dramatic
Has anyone modified cssmenu.tpl where each top level entry (and its drop-down) has a specific colour (applied via a class)? I guess it would have to pick up the class parameter from an attribute of the target page.

(i.e. the website would have 7 or 8 sections corresponding to the top level items, with either a template per section or colour theme applied via an id or class on the body element - and this theme would carry through to the menus.

See the attached image

Re: Has anyone made a multicolored menu?

Posted: Wed Oct 14, 2009 9:45 am
by Peciura
You could start with tag

Code: Select all

 class="menu_branch_{$node->hierarchy|truncate:1:""}"

Post should be moved to Community bord. May be Layout and Design.

Re: Has anyone made a multicolored menu?

Posted: Sat Nov 07, 2009 11:54 pm
by Dr.CSS
Yes look to the products part of this menu...

http://blueoakom.com/

Re: Has anyone made a multicolored menu?

Posted: Tue Nov 10, 2009 11:54 am
by jhoulston
I too would be interested in this effect as well.  I have tried to give it a go but never succeeded!

James.

Re: Has anyone made a multicolored menu?

Posted: Tue Nov 10, 2009 8:26 pm
by Peciura