Tagged: enfold, mobile menu
-
AuthorPosts
-
December 27, 2017 at 8:00 pm #892205
Hello,
I see that this issue has come up for other uses, but the posted fixes don’t seem to be working for me. The mobile menu icon appears, but doesn’t function.
site: thefretwire.comI have tried it with all plugins deactivated and cache cleared (both server and client cache) but it still isn’t working. Right now I have re-enabled the core plugins.
In the console I get the following errors:
avia.js:1721 Uncaught TypeError: Cannot read property ‘split’ of undefined
at HTMLLIElement.<anonymous> (avia.js:1721)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at create_list (avia.js:1679)
at HTMLAnchorElement.<anonymous> (avia.js:2009)
at HTMLAnchorElement.dispatch (jquery.js:3)
at HTMLAnchorElement.r.handle (jquery.js:3)Any help is appreciated!
December 29, 2017 at 7:07 am #892334Hey garageprofits,
Thanks for the login details. Could you try deactivating all plugins to see if one of them is causing a conflict please?
Best regards,
RikardJanuary 4, 2018 at 1:19 am #893018I am experiencing same issue on mobile, at least on iphone 6 + safari. The menu hamburger is there, but when tapped a blank screen appears without anything on it. I’m experiencing this on production and staging servers.
All 3 plugins are deactivated.
Enfold 4.2; WP 4.9.1January 4, 2018 at 1:22 am #893022I ended up finding some rogue code in my child theme’s function.php file. I think I had added this a while back to force the login/logout links to appear:
/* add_filter('wp_nav_menu_items', 'add_login_logout_link', 10, 2); function add_login_logout_link($items, $args) { ob_start(); wp_loginout('index.php'); $loginoutlink = ob_get_contents(); ob_end_clean(); $items .= '<li>'. $loginoutlink .'</li>'; return $items; } */
Removing this seems to have cleared up the issue for me.
January 4, 2018 at 4:00 am #893054January 4, 2018 at 5:54 pm #893302Not closed for me. See #893018 please. Need to launch site, but can’t until mobile menu is functional.
January 4, 2018 at 7:16 pm #893349Hey cbesondy1,
We will refer to that thread and continue troubleshooting there.
Best regards,
Jordan ShannonJanuary 5, 2018 at 2:33 am #893533Looking forward to the solution to #893018. Thank you
January 5, 2018 at 9:03 am #893600Hi,
Please try the following in Quick CSS under Enfold->General Styling:
#top #wrap_all .av-burger-overlay .av-burger-overlay-scroll #av-burger-menu-ul li a { color:white !important; }
Best regards,
RikardJanuary 5, 2018 at 6:34 pm #893791Perfect. You are my hero!
January 5, 2018 at 10:20 pm #893846Hi,
I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘Mobile Menu Broken’ is closed to new replies.