Title: Hide sub menu when parent is active
Last modified: January 24, 2023

---

# Hide sub menu when parent is active

 *  [mateuszdybo](https://wordpress.org/support/users/mateuszdybo/)
 * (@mateuszdybo)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/)
 * Im looking for a way to hide the sub menu on my max mega menu whenever its parent
   menu is clicked.
 * Has anyone found a way to do this
    -  This topic was modified 3 years, 4 months ago by [mateuszdybo](https://wordpress.org/support/users/mateuszdybo/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16407496)
 * Hi mateuszdybo,
 * Please could you post some screenshots that describe what you’re looking to do?
 * Regards,
   Tom
 *  Thread Starter [mateuszdybo](https://wordpress.org/support/users/mateuszdybo/)
 * (@mateuszdybo)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16408311)
 * So this is my main menu
 * [https://ibb.co/p37g7KB](https://ibb.co/p37g7KB)
 * and here is its sub menu
 * [https://ibb.co/S5W2V6T](https://ibb.co/S5W2V6T)
 * When the main menu title ‘lighting’ is clicked it takes you to my lighting page
   as displayed in the image below
   [https://ibb.co/Qn3DKms](https://ibb.co/Qn3DKms)
 * When in the lighting page you can still hover over the lighting item and it will
   show its sub menu however i want to disable the lightings submenu when on the
   lighting page. at the moment when i hover over it it will still show its sub 
   menu as shown below 
   [https://ibb.co/StLgHRb](https://ibb.co/StLgHRb)
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16411213)
 * Hi mateuszdybo,
 * Thanks. I’m sorry but there’s no built in way to do that, it would take some 
   custom development. It’s unusual, if you check other menus on the sites you visit,
   you will probably find they all have sub menus on every page (even the active
   page).
 * Regards,
   Tom
 *  Thread Starter [mateuszdybo](https://wordpress.org/support/users/mateuszdybo/)
 * (@mateuszdybo)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16411268)
 * Ok I understand
 * would there be any way of keeping the lighting submenu open permanently once 
   your on the lighting page instead
 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16420988)
 * Hi mateuszdybo,
 * Sorry but that is also not possible (without custom code).
 * Regards,
   Tom

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Hide sub menu when parent is active’ 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [megamenu](https://wordpress.org/support/users/megamenu/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/mega-menu-drop-down-deactivation/#post-16420988)
 * Status: not resolved