Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • blackfiction Friend
    #959962

    Hi,
    I have made a submenu in the main menu. In a desktop environment it works fine. However, when I want to access via a mobile device, I can only access the main menu item and not the sub menu. There is a small icon displaying that there are submenu items present, but these can not be accessed. Is this a bug?

    Thanks.

    Saguaros Moderator
    #960038

    Hi @blackfiction,

    You can try with this tweak:

    • Go to the JS file: ROOT/templates/ja_intranet/js/script.js
    • Add this snippet of code:
          // fix mega menu 
          $('.t3-navbar .t3-megamenu ul li > a').click(function(e){
          if ($(this).hasClass('dropdown-toggle') && $(this).parent().hasClass('open')) {
              window.location.href = $(this).attr('href');
          }
      });

    before the 2 last lines:

        });
    
    })(jQuery);

    It will look like this: http://prntscr.com/c5t6ec

    voonchung Friend
    #962931
    This reply has been marked as private.
    voonchung Friend
    #962932
    This reply has been marked as private.
    voonchung Friend
    #962933
    This reply has been marked as private.
    Saguaros Moderator
    #963128

    You can provide us the FTP account of your site, I will have a look.

    voonchung Friend
    #963440
    This reply has been marked as private.
    Saguaros Moderator
    #963825

    The current FTP account is pointing to a blank directory, could you check again?

    blackfiction Friend
    #963946

    Thanks, I will check it out.

    voonchung Friend
    #964994
    This reply has been marked as private.
    Saguaros Moderator
    #965588

    Did you decide to remove it? as I don’t see the menu bar now on mobile view.

    The code on JS file is also different from my suggestion above, kindly check.

    voonchung Friend
    #966075
    This reply has been marked as private.
    Saguaros Moderator
    #966582

    But I don’t see the vertical menu on your site now, did you remove it?

Viewing 13 posts - 1 through 13 (of 13 total)

This topic contains 12 replies, has 3 voices, and was last updated by  Saguaros 8 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum