Resolved

Menu not working on mobile view

Polestar Theme started by Perry Clegg Aug 4, 2018 13 replies
Perry Clegg Aug 4, 2018 · 10:42 am #10231

the link example.com/#menu is not working when the site width is on mobile size.

How to I fix this?

Thank you

Andrew Misplon Puro Aug 4, 2018 · 10:47 am #10232

Hi Perry, please send a link so we can take a look 🙂

Perry Clegg Aug 4, 2018 · 10:48 am #10233

Hi Andrew:

https://flexibuy.com.au/#menu

Thank you

Andrew Misplon Puro Aug 4, 2018 · 10:52 am #10234

Thanks, start by clearing your caching plugin and then temporarily deactivating it, does that resolve the issue?

Perry Clegg Aug 4, 2018 · 10:58 am #10235

Hi Andrew,
Disabled the cache plugin and still no go.
Any ideas?
Thanks

Andrew Misplon Puro Aug 4, 2018 · 11:01 am #10236

Try a plugin conflict test next. Temporarily deactivate all plugins at once, test the issue, if it is resolved, reactivate your plugins one by one, testing for the problem after each activation.

Perry Clegg Aug 4, 2018 · 11:05 am #10237

Hi Andrew,

I’ve found the plugin that is causing the issues.
Thanks

Andrew Misplon Puro Aug 4, 2018 · 11:07 am #10238

Glad to hear you’ve made progress. You can re-activate caching and everything else. Which plugin is causing the (JavaScript) conflict? Can you find an alternative?

Perry Clegg Aug 4, 2018 · 11:11 am #10239

It’s a custom plugin my friend has made to display cars of a .csv file.

Will have to have troubleshoot. No alternative at the moment.

Andrew Misplon Puro Aug 4, 2018 · 11:15 am #10241

Please, can you email me a copy? [email protected]. I can’t say that I’ll find the problem but I can at least take a glance to see if there is anything obvious in the JavaScript department which is where the conflict lies.

Andrew Misplon Puro Aug 4, 2018 · 11:48 am #10246

Thanks for sending. Please, ask your developer to take a look the developer console. The plugin is throwing JavaScript errors, that then causes the mobile menu in the theme to break. Here is StackOverflow on the first of the errors: https://stackoverflow.com/questions/38871753/uncaught-typeerror-a-indexof-is-not-a-function-error-when-opening-new-foundat

This error might be caused by jquery event aliases like .load, .unload or .error deprecated since jQuery 1.8. Look for these aliases in your code and replace them with .on() to register listeners instead.

Perry Clegg Aug 4, 2018 · 12:12 pm #10247

Hi Andrew,

I’ll pass that info on. Thanks!

Andrew Misplon Puro Aug 4, 2018 · 12:21 pm #10248

For sure, hope you’re able to resolve.

14 posts