Title: Menu closes automatically.
Last modified: April 16, 2022

---

# Menu closes automatically.

 *  [mostaque](https://wordpress.org/support/users/mostaque/)
 * (@mostaque)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/menu-closes-automatically/)
 * I am using the salient theme. I have followed the instructions at
    [https://www.megamenu.com/documentation/salient/](https://www.megamenu.com/documentation/salient/)
 * But the mega menu closes when the slider changes. How to solve this?
 * And I cant disable the mobile menu icon.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmenu-closes-automatically%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/menu-closes-automatically/#post-15570485)
 * Hi,
 * Please add this code to your theme:
 * [https://www.megamenu.com/documentation/keep-submenus-visible-data-document-click/](https://www.megamenu.com/documentation/keep-submenus-visible-data-document-click/)
 * Regards,
    Tom

Viewing 1 replies (of 1 total)

The topic ‘Menu closes automatically.’ is closed to new replies.

 * ![](https://ps.w.org/megamenu/assets/icon-128x128.png?rev=1489843)
 * [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/megamenu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/megamenu/)
 * [Active Topics](https://wordpress.org/support/plugin/megamenu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/megamenu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/megamenu/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/menu-closes-automatically/#post-15570485)
 * Status: not resolved