• The desktop menu works perfectly, however the mobile menu only works if there is an id in the url. for example, you can click on the links for “exterior building wraps” and “interior building wraps” because both of those make use of page jumps, and you can then go from there to any other page via the mobile menu. you can also put a random id in the url of any page e.g. …/#something (it doesnt have to be an id that appears in the DOM) and then the mobile menu will work as intended.

    I am receiving no js errors, I am on the latest version of MMM (3.3.2), I have tried disabling all other plugins, and I have verified that wp_footer is being called in footer.php. My theme is Hazel.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter minifid

    (@minifid)

    So turns out I was slightly wrong on my original post, the ID in the url does matter. The ID in the current url cannot be the same as the ID of the link you are trying to go to.

    For example, if you are at /url1/#1 you cannot use the link /url2/#1 but you could use the link /url2/#2 or even the link /url2.

    For now I have a workaround fix where I gave all the urls in my menu unique IDs, however i would like to remove this. you can reproduce the issue using inspect element and the above information.

    Plugin Author megamenu

    (@megamenu)

    Hi minifid,

    Does the same thing happen if you use the standard theme menu?

    Regards,
    Tom

    Thread Starter minifid

    (@minifid)

    No, the standard theme mobile menu links work as intended.

    Plugin Author megamenu

    (@megamenu)

    Hi minifid,

    I have checked but I can’t see why this is happening, I suspect it is something to do the the smooth scroll functionality II can’t tell if thats from your theme or a plugin as the page is minified).

    Please can you go to Mega Menu > Menu Locations, open the settings for your top navigation location and go to the Advanced tab. In there set the Active Menu Instance to 1. This should restore your theme menu on mobile, but leave the mega menu active on desktop.

    Regards,
    Tom

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mobile menu links not working’ is closed to new replies.