Title: Mobile sub menu problem
Last modified: February 12, 2021

---

# Mobile sub menu problem

 *  Resolved [pirulin](https://wordpress.org/support/users/pirulin/)
 * (@pirulin)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/mobile-sub-menu-problem/)
 * I need help with the mobile menu.
    When accessing the menu from a smartphone,
   The menu display all sub-items for sub menu. How can I make them show only when
   they click on the menu option corresponding to the sub menu?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-sub-menu-problem%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [danamv](https://wordpress.org/support/users/danamv/)
 * (@danamv)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/mobile-sub-menu-problem/#post-14052885)
 * Hi [@pirulin](https://wordpress.org/support/users/pirulin/),
 * Please add the following lines of code into Customizer -> Additional CSS.
 *     ```
       @media only screen and (max-width: 320px) {
   
       .header-menu-sidebar-inner .builder-item--primary-menu .primary-menu-ul.dropdowns-expanded > li > .sub-menu {
          max-height: 0;
       }
       }
       ```
   
 * Please let me know if it worked.

Viewing 1 replies (of 1 total)

The topic ‘Mobile sub menu problem’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/neve/4.2.3/screenshot.png)
 * Neve
 * [Support Threads](https://wordpress.org/support/theme/neve/)
 * [Active Topics](https://wordpress.org/support/theme/neve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/neve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/neve/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [danamv](https://wordpress.org/support/users/danamv/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/mobile-sub-menu-problem/#post-14052885)
 * Status: resolved