Dropdown menu not working on mobile - already added code to head
10 years ago
xnh
Member
I've seen that many others have had this same problem:
The menu works fine on the full site, but on the responsive version (either on a mobile device, or when shrinking the window down) it does not. The dropdown menu is there, but when I click a page, nothing happens. I have already added this snipped of code in the <head> section of top.php: <script> jQuery('select.mobile-menu'). live('change',function(){window.location=jQuery(this).find("option:selected").val()}); </script> The only plugin that I think could be causing a conflict is "Restore jQuery", but all it does is "Restore the loaded jQuery library to the version bundled with WordPress." I can't see why that would be an issue, unless the theme relies on a different version of jQuery to do its menuing magic. Any ideas? Thank you! |
10 years ago
xnh
Member
I confirmed that "Restore jQuery" IS causing the issue -- so the real question is what jQuery version/library is the theme itself using? It's clearly not the WordPress version, so that's causing conflicts with plugins that call the WordPress version.
|
10 years ago
Alice
Support Service
Hi!
We are using the version 1.7.2. This version of jQuery is required for the correct work of our theme. |
Leave a reply
Search by forum
SMThemes.com Support
-
Categories
- Framework
- Themes
- Affiliate Company
- Sponsorship Useful pages
- How to start using our themes
- Contacts