Title: Mobile menu broken
Last modified: December 2, 2021

---

# Mobile menu broken

 *  Resolved [barurumm](https://wordpress.org/support/users/barurumm/)
 * (@barurumm)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-broken-7/)
 * Mega menu works fine on sd and hd screens, but when I try to collapse to mobile,
   it doesn’t work as expected:
    1. The menu is not scrollable – instead the background(
   page) is scrolled. 2. The submenu columns are preserved, while in the mobile 
   settings the instruction is to collapse to one column 3. The setting to Overlay
   Content is not checked, however the menu is with position absolute, and overlaying
   the content.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmobile-menu-broken-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [megamenu](https://wordpress.org/support/users/megamenu/)
 * (@megamenu)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-broken-7/#post-15128797)
 * Hi Barumrumm.
 * 1 and 3 are related, and due to your theme sticking the header on mobiles. You
   will need to manually add a scrollbar to the mobile menu:
 * [https://www.megamenu.com/documentation/how-to-add-a-scrollbar-to-the-mobile-menu/](https://www.megamenu.com/documentation/how-to-add-a-scrollbar-to-the-mobile-menu/)
 * For 2, please go to Mega Menu > Menu Themes > Custom Styling and add the following:
 *     ```
       @include mobile {
           #{$wrap} #{$menu} li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu li.mega-2-columns > ul.mega-sub-menu > li.mega-menu-item {
               width: 100%;
           }
       }
       ```
   
 * Regards,
    Tom
 *  Thread Starter [barurumm](https://wordpress.org/support/users/barurumm/)
 * (@barurumm)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-broken-7/#post-15128968)
 * Thank you for your help, Tom, I couldn’t figure that the issue was with the fixed
   position of the navigation bar. The custom css also helped with the columns issue.
   
   Thanks!

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

The topic ‘Mobile menu broken’ 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [barurumm](https://wordpress.org/support/users/barurumm/)
 * Last activity: [4 years, 5 months ago](https://wordpress.org/support/topic/mobile-menu-broken-7/#post-15128968)
 * Status: resolved