-
AuthorPosts
-
October 2, 2018 at 7:04 am #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
October 3, 2018 at 10:03 pm #1017608Hey SilviaNT,
What mobile device are you using?
Please do provide us with some more details, so we can debug.Best regards,
BasilisOctober 4, 2018 at 12:11 am #1017634Hi 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/
October 7, 2018 at 12:34 am #1018586Hi,
Do you have a solution for the issue yet?
Thanks
October 8, 2018 at 2:23 am #1018750Hi,
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,
IsmaelOctober 8, 2018 at 5:46 am #1018787Hi,
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, 2 months ago by SilviaNT.
October 9, 2018 at 5:43 pm #1019576Hi,
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.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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ünterOctober 10, 2018 at 9:08 am #1019840Hi,
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/fBX5Please 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.
October 11, 2018 at 4:10 am #1020130Hi,
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,
IsmaelOctober 13, 2018 at 11:39 pm #1021117Hi,
Are you referring to the link or the menu name?
And does this have to be removed from the secondary menu aswell?
October 14, 2018 at 1:24 am #1021131This 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.
October 15, 2018 at 7:43 am #1021440Hi,
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,
IsmaelOctober 15, 2018 at 8:29 am #1021447Hi,
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, 2 months ago by SilviaNT.
October 16, 2018 at 12:40 pm #1022130Hi,
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,
IsmaelOctober 17, 2018 at 3:41 am #1022487Hi,
I have attached logins for 2 of my sites.
October 17, 2018 at 4:14 am #1022507Hey!
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!
IsmaelOctober 17, 2018 at 5:53 am #1022565Hi,
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?
October 17, 2018 at 8:31 am #1022622I 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.October 17, 2018 at 3:48 pm #1022817Hi,
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,
IsmaelAugust 1, 2019 at 5:52 am #1123743Hi 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, 4 months ago by SilviaNT.
August 3, 2019 at 7:00 pm #1124404Hi 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,
VictoriaAugust 4, 2019 at 5:22 am #1124471Hi Victoria,
Logins are below.
August 4, 2019 at 4:00 pm #1124544Hi SilviaNT,
You have the header.php file in your child theme, did you update it with the fresh copy?
Best regards,
VictoriaAugust 6, 2019 at 12:37 am #1124924Hi Victoria,
Yes it is.August 7, 2019 at 10:22 am #1125435 -
AuthorPosts
- You must be logged in to reply to this topic.