Thanks Roy Theme - Menu does not work on Mobile

We are using Omeka Classic version 2.7 for this site and find that the navigation menu does not work on our mobile phones including Samsung and iPhone. Can you help us fix this? Thank you.

Can you let us know what version of the theme you have, and what plugins you have installed?
(The menu works on mobile on my own site with ThanksRoy)

Hello mebrett,
We are using version 2.5.1. The following plugins are installed:
AdminImages 1.3
CSSEditor 1.0.1
CsvImport 2.0.3
CsvImportPlus 2.3.3
DocsViewer 2.0
Dropbox 0.7.2
ExhibitBuilder 3.4.2
Geolocation 3.0.1
HideElements 1.3
Neatline 2.3.0
NeatlineSimile 2.0.2
NeatlineTime 2.0.4
SearchByMetadata 1.2
SimplePages 3.1.2

This looks to be an issue with your copy of the Thanks Roy theme (which is in the theme folder “default”).

There’s a Javascript error on that page which is what’s causing the menu button to not work:

(index):182 Uncaught TypeError: Omeka.skipNav is not a function

I think what’s happening here is that you have some files left over from an older copy of the Thanks Roy theme, and that’s messing things up. The current version of Thanks Roy doesn’t have a file at “javascripts/globals.js” but your copy does. It being there means it’s getting used instead of a file of the same name from the core that provides some things the theme needs.

You could just delete the javascripts/globals.js file from your “default” theme folder and that would probably fix this.

Thank you so much, jflatnes and Omeka Team! That was it!

This topic was automatically closed 250 days after the last reply. New replies are no longer allowed.