Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi
This patch adds 'first', 'odd', 'even' classes to ever li tag. That helps a lot when styling the menus.
E.g. zebra stripes or borders between elements.
I know I can do that by overriding your theme function, but I think this would be quite useful in many cases so I created a patch for nice_menus.module.
Would be nice to get that into the module for good.
Comment | File | Size | Author |
---|---|---|---|
nice_menus_listingposition.patch | 1.75 KB | globetrotter | |
Comments
Comment #1
add1sun CreditAttribution: add1sun commentedThere is already an existing patch for first and last classes #301247: add classes 'first', 'last', 'even', 'odd'. Let's take this discussion to that thread please.