Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author neilgee

    (@neilgee)

    Try enabling – ‘Allow Parent Links’ in the settings.

    Thread Starter rupomkhondaker

    (@rupomkhondaker)

    Thanks for your answer.
    After enabling “Allow Parent Links” no result. Is the child lvl menu has another child then it close automatically.

    is there any other solution for this ?

    Plugin Author neilgee

    (@neilgee)

    If you click on the actual word say ‘Wholesale’ it will go to the wholesale page – if you click to the right of the word wholesale all the way to the submenu indicator it will reveal the submenu items.

    Thread Starter rupomkhondaker

    (@rupomkhondaker)

    Did you check the Shop >Parts by Brand ? when i click on submenu indicator the menu close.

    Plugin Author neilgee

    (@neilgee)

    Doesn’t close for me – opens with click and closes on next click – https://d.pr/i/kVbq

    Thread Starter rupomkhondaker

    (@rupomkhondaker)

    Sorry @neilgee

    If you check this using PC then works perfect but does not works on mobile devices

    Plugin Author neilgee

    (@neilgee)

    Yes I had a look on iPhone 6 – when I chose Shop > Parts by Brand and click on the sub menu item it reveals the submenu (the menu doesn’t close).

    Thread Starter rupomkhondaker

    (@rupomkhondaker)

    I have used a optional class for item Shop “megamenu” to work as a megamenu on desktop. this is the happen. If I remove this “megamenu” class the menu works great on mobile if not remove still the issue. hope its my bad luck(I am checking on a android device)

    SO I try this and it works like awesome

    (function($) {
        var $window = $(window),
            $html = $('#menu-item-3127');
    
        function resize() {
            if ($window.width() > 769) {
                return $html.addClass('megamenu');
            }
    
            $html.removeClass('megamenu');
        }
    
        $window
            .resize(resize)
            .trigger('resize');
    })(jQuery);

    .

    Plugin Author neilgee

    (@neilgee)

    You can conditionally add the class based on if its a mobile device – https://www.wpbeginner.com/wp-tutorials/add-a-custom-class-in-wordpress-menu-item-using-conditional-statements/

    But use the condition
    wp_is_mobile

    https://codex.www.ads-software.com/Function_Reference/wp_is_mobile

    – I See you added a js solution – so all good then?

    Thread Starter rupomkhondaker

    (@rupomkhondaker)

    The js solution works ??

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Child Item not clickable when try to open the menu drop down close.’ is closed to new replies.