10 Dec 2007
26 Sep 2008
Link to this post
This should probably be obvious to me, but I thought I'd ask. I have a page template that renders pages with different themes depending on what part of the site they are in (so as to use different background images and colors).
Anyway, I'm implementing the site menu at the top of each page, and a second instance in the left colum as a secondary navigation. However, I want each menu themed differently (obviously, since one is horizontal and the other vertical).
Since there seems like you can have only one instance of the menu folder in your theme, how do you handle having more than one menu style? The only way I can think of would be to wrap the actual menu markup in a tag, and use that to select which menu a style selector is for. Is there a better way?