By hquadrat on
Hi,
May it be possible to add a link class to a single or just certain menu items in the primary-links?
(e.g. adding class "custom" to the normal output of my home-link in my primary-menu <a class="active" title="Home" href="/hquadrat/node" set="yes">Home</a>?)
hQuadrat
Comments
Here's some clues.
Not a graceful way to do 'just one', no, but I suspect you will get the result you want with what I did:
This adds IDs derived from the menu titles to all the LI items in all the menus so you can pick the ones you want to theme.
You can trim the first/last styling bit, but I left it in FYI.
This is a live sample from this site which has fancy colours, AND rounded corners in tricky places in the menu.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards