Multi-coloured drop down menus.

Multi-coloured drop down menus.

by Dave Jewitt -
Number of replies: 3

Hi all.
I've been asked to add some colour to our theme in the way of a multi coloured drop down, similar to that show in the image.


Does anyone know how to go about this?

Thanks

Average of ratings: -
In reply to Dave Jewitt

Re: Multi-coloured drop down menus.

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

The only way you can do this would be to use CSS for nth-child see this web page

In reply to Mary Evans

Re: Multi-coloured drop down menus.

by David Scotson -
Or tweak the custom menu renderer to add a classname (e.g. menu1, menu2 etc.) to the HTML.
In reply to Mary Evans

Re: Multi-coloured drop down menus.

by Dave Jewitt -

Hi Mary,

I am trying your suggestion but I can't figure out where to add/edit the CSS, I am using the archaius theme as a base and trying to edit it to our needs.

Thanks again for your help