Active
Project:
Nexus Theme
Version:
7.x-1.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2014 at 16:04 UTC
Updated:
14 Sep 2014 at 21:37 UTC
Jump to comment: Most recent
Hi,
I have download the the nexus drupal 1.3 version when I re size the browser to check the theme in mobile , for each menu item the nexus theme adds a "Main" link to the sub menu links. I have attached the image. I do not have "Main" in my menus at all.
Thanks for your help in advance!
| Comment | File | Size | Author |
|---|---|---|---|
| nexusbug.png | 16 KB | sf99 |
Comments
Comment #1
Michael-IDA commentedDoes the same thing to the top of page menu in a browser when you narrow the browser enough.
Also, the entry directly above the 'Main' item is not selectable and clicking 'Main' paths to the above entry.
Comment #2
oldenboom commentedJust did some hacking: the 'Main' is added by js/mobilemenu.js - It wasn't too difficult to find the original version. It's Matt Kersley's at https://github.com/mattkersley/Responsive-Menu. Replacing the mobilemenu.js with the latest version from github does work without any modification (note: the switchwidth is lowered to 480 by default).
Now for that "Main" text. The documentation on the github page is clear:
I would have liked the optgroups to be clickable though but that's just not possible with the approach of this script. Tried to dropin-replace the script with SlickNav. Quite promising actually but it does need some modification by someone in the stylesheet.
As my site is not multilingual, I can live with overriding the Main textstring in mobilemenu.js. Feel invited to experiment with SlickNav.