[Support request] mobile menu dropdown userunfriendly

Home Forums Support [Support request] mobile menu dropdown userunfriendly

Home Forums Support mobile menu dropdown userunfriendly

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • #2227624
    Andreas

    Hi Tom,

    you wrote:
    “One possible solution is using the first tap on mobile to open the sub-menu, and the second tap to go to the link. That might be a feature we add in the near future.”

    Is the feature you described already part of GP?

    Thanks
    Andy

    #2227916
    Leo
    Staff
    Customer Support

    Unfortunately not.

    #2228365
    Andreas

    Any hack for this?

    Thanks
    Andy

    #2228961
    Tom
    Lead Developer
    Lead Developer

    Not without custom javascript development, unfortunately.

    This is something that’s still on my mind. I’d like to completely re-write how sub-menus work with the theme in one of the next few big updates.

    #2229318
    Andreas

    Good news. Looking forward to it.

    Meanwhile this code snippet, based on jQuery, could perhaps help somebody…

    jQuery.noConflict();
    jQuery(document).ready(function() {
    jQuery('#menu-main-menu a').click(function (e) {
            if (jQuery(this).parent().hasClass('menu-item-has-children') && jQuery(this).parent().children('ul').hasClass('toggled-on') != true) {
                jQuery(this).parent().children('ul').addClass('toggled-on');
                e.preventDefault();
                return false;
            }
        });
    });
Viewing 5 posts - 16 through 20 (of 20 total)
  • You must be logged in to reply to this topic.