Adding Touch Swipe Gesture Controls

Out of the box, ShiftNav does not include swipe gesture controls to open and close the menu, as these types of interactions can often cause conflicts with themes.

If you’d like to implement touch controls for your mobile menu, we have a detailed tutorial on how to set that up with Hammer.js and the ShiftNav Javascript API over in our Tutorials section: How to add swipe gesture controls to ShiftNav

On this page