How to add a menu class to

  • tag instead of - is there a solution for this?
  • Comments

    Anonymous’s picture

    (I wrote "<li> instead of <a>")

    Anonymous’s picture

    Found it http://drupal.org/node/345624 - lets put that in menuclass module, shall we? Thx

    stephthegeek’s picture

    Category: bug » feature

    Agreed, it would be great if either Menu Class or Menu Attributes did this so it's possible to target both elements.

    maijs’s picture

    Agree, styling of <li> element is much more useful as it is lets one style both a list item and everything beneeth it.

    danny_joris’s picture

    +1

    In my case I'm looking for compatibility with the Special Menu Items module. The menu items created with a 'nolink' attribute have <span>'s instead of <a>'s.

    By putting the classes in the <li>'s would make it possible to modify these menu items without a link as well.

    Andrew Gorokhovets’s picture

    +1

    timofey’s picture

    +1 from me also:)

    td540’s picture

    +1

    porg’s picture

    +1

    daniboy’s picture

    Status: Active » Closed (won't fix)

    This module is now obsolete. Please see the module's project page.