- This topic has 5 replies, 2 voices, and was last updated 6 years, 6 months ago by Tom.
December 17, 2015 at 10:10 pm #160817Eric
I love your theme, I use it as often as possible. However, I’ve run into a problem that’s happening on several sites now.
We do call tracking and in order to do so, I simply add a JS file just below the closing body tag. Adding the script causes the mobile menu to not expand.
Right now I have it enqueued in the functions file. But I’ve also tried adding it as a Hook. I think either way is fine. But the problem happens regardless.
So far to troubleshoot, I have disabled all plugins, upgraded the theme, upgraded GP Premium, upgraded all plugins. I’ve enabled WP-DEBUG and cleared up any errors.
Unfortunately I’m stumped and not sure what the issue is, or how to resolve. I was wondering if you might be able to take a look.
Thank you so much,
EricDecember 17, 2015 at 10:22 pm #160818TomLead DeveloperLead Developer
Can you link me to your site possibly?December 20, 2015 at 12:31 pm #161158Eric Bunch
I sent the information you requested via your contact form.
EricDecember 21, 2015 at 12:07 am #161203TomLead DeveloperLead DeveloperDecember 22, 2015 at 11:18 am #161466Eric Bunch
I suspect by now that my second contact form submission failed. I’ll just go ahead and post the link: http://philadelphiadentist.com
The script that is enqueued in the functions file that is causing the mobile menu not to expand is:
The script does work, because when you reload the page – you can see the phone number quickly change. So it’s weird that interferes with the mobile menu.
I appreciate you taking a peek and for any insight you may have.
EricDecember 22, 2015 at 12:09 pm #161481TomLead DeveloperLead Developer
Interesting – it works when you resize your browser down to mobile size, but won’t work on my Android.
Can you show me the code you’re using to enqueue it? We should be able to make it show up after the mobile navigation script, which should fix it.
Let me know 🙂
- You must be logged in to reply to this topic.