Problem/Motivation

On mobile devices and small desktop browser windows, the mobile menu will not appear (and the non-mobile main menu is not available).

Lack of mobile menu renders the theme impossible to navigate on mobile devices/small screens.

Example

Nexus Mobile Menu Broken

The website pictured above is running Drupal 7.34; I have tested without the jQuery Update module enabled, and also with it set to versions 1.7 - 1.10 (presently 1.8 - lacps.net). The desktop main menu works as it should.

Any input much appreciated.

CommentFileSizeAuthor
nexus-mobile-menu-broken.png95.21 KBforbesconrad
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

forbesconrad’s picture

Issue summary: View changes
forbesconrad’s picture

Issue summary: View changes
forbesconrad’s picture

Issue summary: View changes
larymiller’s picture

update superfish.js with latest version.
ftp to your site and replace files.

solve the problem.

jphelan’s picture

Same issue, updating superfish did not help. jquery_update is set to jQuery 1.7
Getting this error in the console:

Uncaught Error: Syntax error, unrecognized expression: [href=/node/123] jquery.min.js:3

TheWrench’s picture

Just installed this theme on a fresh Drupal 7.34 install and can confirm the Mobile Menu works perfectly for me. Something went wrong somewhere with your install.

jphelan’s picture

It's working for me on the homepage but not subpages.

jessip’s picture

I had the same problem. Turning of jQuery Update completely solved the issue for me.

yuxinvalo’s picture

The same problem, and it works at the localhost but not online....

jbiechele’s picture

A possible circumvention for the disappearing menu is posted here https://www.drupal.org/node/2497471#comment-9986891

rafavermo’s picture

Status: Active » Needs review

This error is fixed when you update your superfish.js file to the latest version 1.7.4. On the issue #2654558 is uploaded the updated patch.

mr B’s picture

I installed the patch and am still receiving an unrecognized expression error: a[href=/contact]

highvrahos’s picture

If you get the following error, then try applying the advice from the wordpress forum to mobilemenu.js:

unrecognized expression error: a[href=/contact]

https://wordpress.org/support/topic/wordpress-45-uncaught-error-syntax-e...