[Resolved] Sticky navigation menu on mobile devices

Home Forums Support Sticky navigation menu on mobile devices

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #299870
    Anton

    Hi Tom!

    I try to implement the actions that described in your article about GP & WP optimization.
    I have encountered a problem with sticky navigation menu on mobile devices. I installed Autoptimize and when I add all GP scripts to minification then sticky navigation menu not open. If I exclude from minification file navigation.min.js then menu works. How to resolve this?
    Also this problem exists for file tinymce.min.js. I have also excluded it.

    Thank you.

    #299963
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    See this note in the article:

    You’ll notice we’re excluding some scripts including jquery.js. This is to prevent javascript errors in case plugins aren’t listing jQuery as a dependency. However, GeneratePress and GP Premium make sure that jQuery is a dependency when needed, so you can try removing all of those exclusions, and make sure to check the Also aggregate inline JS option.

    Give that a try 🙂

    #300002
    Anton

    Thank you Tom for fast and clear answer! Now all works!

    #300212
    Tom
    Lead Developer
    Lead Developer
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.