Support » Plugin: Max Mega Menu » Duplicate ID mega-menu-wrap-header

  • Hi there,

    SiteImprove is saying that our website has duplicate IDs for “mega-menu-wrap-header”. I think this may be because mega menu loads the mobile and desktop menu? Is there a way to specify different IDs so it is not duplicated on the page?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi mcaleerkj,

    Your analysis is correct – the theme is outputting exactly the same menu more than once on the same page. Depending on how the theme is created, there’s a good chance you’d see exactly the same issue even with MMM disabled.

    I’m not sure if your theme has a header builder, if it does it may be possible to specify a different menu for the mobile menu. You can create a new menu location under Mega Menu > Menu Locations, assign your existing menu to it, then in the page builder change the mobile menu menu location to use the one you have just created. That should give you unique IDs, but the same menu.

    Otherwise, you’d need to edit the themes header files directly and change the theme location used for the mobile menu.

    Regards,
    Tom

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.