• Resolved Dorus

    (@drus2000)


    Thanks for this very nice plugin!

    It works great on pc, but on mobile (iOs) I can not expand the submenu. It does show the arrow.

    I have a rather plain installation WP5.0 with the twenty nineteen theme.

    Thanks in advance!

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author megamenu

    (@megamenu)

    Hi drus,

    I am not sure if this will fix it just yet, but can you create a child theme and add this to the functions.php file?

    function remove_parent_filters(){ //Have to do it after theme setup, because child theme functions are loaded first
        remove_filter( 'wp_nav_menu', 'twentynineteen_add_ellipses_to_nav');
        remove_filter( 'wp_nav_menu_objects', 'twentynineteen_add_mobile_parent_nav_menu_items');
    }
    add_action( 'after_setup_theme', 'remove_parent_filters' );

    It should stop twentynineteen from altering the menu markup.

    Plugin Author megamenu

    (@megamenu)

    Hi Drus,

    I’ve looked into this a bit further, and it is an issue with TwentyNinteen. It has already been reported on github, and a fix is here:

    https://github.com/WordPress/twentynineteen/pull/721/commits/f8e3b74384855d765b8dd915bb416e0d06032fa5

    My guess it will be fixed in the next TwentyNinteen update ??

    Thread Starter Dorus

    (@drus2000)

    Hi Megamenu,

    Thank you very much for the quick response!

    I added your code to my child theme. It does not fix the problem on safari on iOs. But is did remove something, the only other minor remark I had, it no longer shows the parent name above the submenu on my pc.

    Any other tips?

    Plugin Author megamenu

    (@megamenu)

    Hi Drus,

    That’s correct, it shouldn’t be showing the parent name above the sub menu. Please see my last response, it is best to wait for the next update of TwentyNineteen. Hopefully it will not take long.

    Thread Starter Dorus

    (@drus2000)

    Thank you for your time!

    I guess I have to wait.

    Have a very good day!

    Help! I am also having a ‘no submenu’ issue with the Benevolence theme. Actually it is a no menu item at all problem. The desktop menu is fine but the mobile menu shows only the top menu bar and the menu toggle. Possibly related, the mobile menu in the Benevolence theme also shows underneath the megamenu mobile menu bar.

    No configuration guide is available specially for Benevolence and I have tried all the generic trouble shooting tips but none have solved the problem. My site is using a child theme.

    John

    • This reply was modified 6 years, 3 months ago by jscudder.
    Thread Starter Dorus

    (@drus2000)

    I have got the submenu working on my site (on mobile) by fixing the js/touch-keyboard-navigation.js file with the new code suggested in this bug report on githup as shown by megamenu:

    https://github.com/WordPress/twentynineteen/pull/721/commits/f8e3b74384855d765b8dd915bb416e0d06032fa5

    Plugin Author megamenu

    (@megamenu)

    Hi John,

    This topic is related to the TwentyNinteen theme only. Please could you create your own topic? (Make sure you include a link to your site so I can take a look)

    Hi
    I have MegaMenu installed on my page – smerteogsport.dk and love the layout on pc, but the menu doesn′t expand on mobile devices.
    My company have an online booking function and therefor it is crucial that patients can book online via their mobile device.
    In the MegaMenu panel it′s recommended that I disable WP supercache (clear the cache) which I have done – but without a satisfactory result.
    Can you help?
    BR
    Michael

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No submenu on mobile’ is closed to new replies.