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

webm_koba’s picture

Priority: Major » Normal
Lioz’s picture

Assigned: Unassigned » Lioz
chicagomom’s picture

Looks like this may be the same issue.

ClaudeS-1’s picture

I'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

jeramy’s picture

I 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!