Classes or IDs on MenuManager lists?

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

Classes or IDs on MenuManager lists?

Post by Cerulean »

The {menu} tag doesn't seem to have a parameter for assigning a class or ID to the generated unordered list. Is there some technique I can use to achieve this?

Most of the examples I've seen place the <ul> inside a <div> and put the class/ID on the <div> but I'd rather avoid that type of redundacy if possible.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Classes or IDs on MenuManager lists?

Post by Dr.CSS »

Each default menu template has it's own ID/class set, the best way to find them is to look at a default install page view source, there is a link to a 1.9.2 default install in my signature...
Cerulean
Forum Members
Forum Members
Posts: 172
Joined: Mon Nov 01, 2010 8:56 am

Re: Classes or IDs on MenuManager lists?

Post by Cerulean »

Thanks for that advice.
Post Reply

Return to “CMSMS Core”