Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #1016904

    Hi,

    When a same page link is clicked on (in the mobile menu) I can see the page scroll down in the background but there is no option to close the mobile menu and see the page itself.

    If you open the link below on a smartphone, click on the menu and then click on “Kostenlos Bewerben” (as an example) you will see what I mean.

    I’d like the mobile menu to close when I click on links like these.

    Thanks

    #1017608

    Hey SilviaNT,

    What mobile device are you using?
    Please do provide us with some more details, so we can debug.

    Best regards,
    Basilis

    #1017634

    Hi Basilis,

    I’ve tested it on my android phone and with the mobiletest.me site.
    All phones show the same issue.

    Here is an example:

    http://mobiletest.me/iphone_5_emulator/?u=https://www.gotoaustralia.de/schueleraustausch-australien/

    #1018586

    Hi,

    Do you have a solution for the issue yet?

    Thanks

    #1018750

    Hi,

    The mobile menu should close automatically when you click on any items. I found this error in the console.

    jquery.js?ver=1.12.4:2 Uncaught Error: Syntax error, unrecognized expression: #schulgeb%C3%BChren-australien
    

    Please remove the special character “ü” from the menu item “Schulgebühren”.

    Best regards,
    Ismael

    #1018787

    Hi,
    When I use the mobile (or change the window size on desktop) and click on any one of the custom main menu links, the menu doesn’t close and neither does it give the option to close.
    All pages are affected when the link in the menu is an anchor on the same page.

    Link below is an example.

    • This reply was modified 6 years, 1 month ago by SilviaNT.
    #1019576

    Hi,

    Cannot reproduce the issue on my server.

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.

    Best regards,
    Günter

    #1019840

    Hi,
    I’m not sure if my message is getting through.

    The burger menu will not close when you click on a link that links to an anchor on the same page.
    Please have a look at the following:
    http://mobt.me/fBX5

    Please follow these steps:
    1. Click on the burger menu
    2. Once opened, scroll to the last menu item (the orange button “Kostenfreie Beratung”) and click on it.
    *Note, this is just an example, it happens with any same page anchor link in the menu, except for the first menu item which links to the top of the page.

    You can see the page scroll down, but the menu doesn’t close and also doesn’t give the option to close it.

    I’ve tried it on multiple mobile devices. All show the same issue.

    #1020130

    Hi,

    Please remove the special character “ü” from the menu item “Schulgebühren”.

    Sorry for the confusion. It’s not closing properly because of the special character “ü” in the custom menu “Schulgebühren”. It’s causing a script error — unrecognized expression. Please try to remove that character temporarily and then check the menu again.

    Best regards,
    Ismael

    #1021117

    Hi,

    Are you referring to the link or the menu name?

    And does this have to be removed from the secondary menu aswell?

    #1021131

    This person was having the same issue with the menu not closing on mobile devices:

    Could you please explain to me what has to be done to fix the issue and if you require logins to the website for this matter.

    #1021440

    Hi,

    I’m referring to the menu link. Try to create a custom link and use a url without that character. You don’t need to modify any files.

    Best regards,
    Ismael

    #1021447

    Hi,

    I have the same issue on my English sites.

    Link below is an example. Mobile menu doesn’t close when you click on an anchor link that’s on the same page.

    I’ve also pasted a link to a screenshot.
    You’ll see I clicked on Tuition Fees ( check the url, it has the # tag) and the menu is still open.
    In this screen size I’m able to click on the page and the menu will close, however in mobile you can’t see the page so people are unable to see the content and are just stuck on the menu with no option to close it.

    Please test it in a mobile device or reduce your screen size until the burger menu comes up and you will see the issue.

    • This reply was modified 6 years, 1 month ago by SilviaNT.
    #1022130

    Hi,

    Thanks for the update. I don’t see any script errors on the EN version. Please provide the WP and FTP details in the private field. We would like to test it.

    Best regards,
    Ismael

    #1022487

    Hi,

    I have attached logins for 2 of my sites.

    #1022507

    Hey!

    Thanks for the info.

    I’ve added this code in the functions.php file.

    function avia_footer_scripts_close_menu(){
    ?>
    <script>
    jQuery('.html_av-submenu-display-click').on( 'click', 'a', function (e) 
    {
    	if(! jQuery('html').hasClass('av-burger-overlay-active')) return;
    	var avia_custom_burger_menu = jQuery('.av-burger-menu-main a').find('.av-hamburger');
    	avia_custom_burger_menu.parents('a').eq(0).trigger('click');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'avia_footer_scripts_close_menu', 999);

    Please remove the browser cache prior to checking the page.

    Cheers!
    Ismael

    #1022565

    Hi,

    The menu closes now, however the is a long running script issue and it takes a while for the menu to open. Is there a way to fix this?

    #1022622

    I have removed the code from the functions.php for the moment and decreased the mobile menu width due to the long loading time.
    If there is a code that won’t cause the menu to lag and take a while to open I’m happy to insert the code.

    #1022817

    Hi,

    What do you mean “it’s a long running script”? It’s just a simple script that closes the mobile menu when you click on the link.

    Best regards,
    Ismael

    #1123743

    Hi Ismael,

    I hope it is still ok to reply to this thread.

    I have tested to see if your code works and it does now, without the issue I had previously.

    There is one issue though. The submenu items don’t open anymore on click, instead it opens the main menu item. This is even though I have set it to clone main menu item and open on click.

    Can you please check this? I have added the link below. You will see when you click on “Study” on the main menu it open the page instead of the sub menu.

    • This reply was modified 5 years, 3 months ago by SilviaNT.
    #1124404

    Hi SilviaNT,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #1124471

    Hi Victoria,

    Logins are below.

    #1124544

    Hi SilviaNT,

    You have the header.php file in your child theme, did you update it with the fresh copy?

    Best regards,
    Victoria

    #1124924

    Hi Victoria,
    Yes it is.

    #1125435

    Hi,

    Thank you for the update.

    What do you want to do with this again? We can’t inspect the site properly because it’s lagging quite a bit even without the script that we suggested. Can we deactivate the plugins temporarily?

    Best regards,
    Ismael

Viewing 25 posts - 1 through 25 (of 25 total)
  • You must be logged in to reply to this topic.