• For some reason, the mobile site navigation doesn’t work on my actual mobile device but does in the Customizer.

    This is a critical part of the site that needs to be fixed.

    My host is EasyWP, and they provide their own caching I cannot disable.

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Leo

    (@leohsiang)

    Hi there,

    I’m seeing a jquery is not defined error in the console tab on this function here:
    https://www.screencast.com/t/fV3At81Q6

    Maybe it’s from another plugin or custom function?

    GP doesn’t load jQuery by default so if another plugin requires it, the plugin itself should load it.

    or you can try this snippet to load it manually:

    add_action( 'wp_enqueue_scripts', function() {
        wp_enqueue_script( 'jquery' );
    } );

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Thread Starter kensonplays

    (@kensonplays)

    Add it through a new Code Snippet through that plugin?

    Tried it, and cleared cache on site and on my mobile browser, no change.

    I do need the Patreon plugin as there’s a few pages that I want locked behind Patrons for game-server info.

    Leo

    (@leohsiang)

    Hmm that snippet should work.

    Can you first confirm that the mobile menu works with the Patreon plugin disabled?

    If so I’d recommend reporting this to their support. They should be able to help you out if they see the error.

    Let me know 🙂

    Thread Starter kensonplays

    (@kensonplays)

    Trying an alternative theme, same issue, so maybe it’s not GeneratePress and it’s my host?

    Theme Author Tom

    (@edge22)

    It sounds like an error in one of your plugins. Have you tried deactivating them one by one to see if you can pinpoint the culprit?

    Thread Starter kensonplays

    (@kensonplays)

    Currently experiencing host problems right now. Cloudflare is saying it’s on their end.

    But I was having this issue for a few days now.

    I don’t think it’s a plugin, but since we’re experiencing host issues, might not be able to tonight.

    Theme Author Tom

    (@edge22)

    No problem – let me know once you’re able to test 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Mobile Nav Not Working’ is closed to new replies.