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.
When you use de li tag only option for the megamenu and you do not have items under level 2 (1 menulink with multiple childern but no grandchildern) the HTML markup is wrong.
ul and li tags are not being closed. You can prevent this with the h2 h3 option but this messes up the width and is not what I want from a SEO point of view.
Could you please fix this.
Comments
Comment #1
webm_koba CreditAttribution: webm_koba commentedComment #2
Lioz CreditAttribution: Lioz commentedComment #3
chicagomom CreditAttribution: chicagomom commentedLooks like this may be the same issue.
Comment #4
ClaudeS-1 CreditAttribution: ClaudeS-1 commentedI've posted an updated marinelli_mega_menu() function that I've edited to fix the problem for me:
http://drupal.org/node/1093604#comment-4532802
Comment #5
jeramy CreditAttribution: jeramy commentedI have the same issue in the 7.x-3.0-beta11 version. (Not sure if I am supposed to update the version on this issue or not)
I did try the fix linked by ClaudeS and it did resolve the issue for me.
Thanks ClaudeS, this was making me crazy!