Do you want to quickly make Divi mobile menu scrollable with just two steps? In a recent project, I was working on a new site using the Divi WordPress theme. I came across one of the most common issues on the Divi WordPress theme.
The mobile menu is not well optimized and tends to stick on the screen while the background scrolls. If you have a long menu some items are not visible since by default there is no scrolling on the div mobile menu.
Make Divi Mobile Menu Scrollable
In this quick post, I want to show you how to quickly optimize the Divi mobile menu to make it scrollable on any mobile device. You can make the menu scrollable by adding the scroll property to the main mobile menu wrapping class and setting a fixed height and that will fix the menu scroll problem on Divi mobile.
These are the steps to follow to make a mobile menu on Divi scrollable :
- Login into your WordPress dashboard
- Go to Appearance menu > Customize sub-menu and open the Additional CSS tab on the Customizer panel.
- Add the code below to the Additional CSS after all other code and publish the changes.
.et_mobile_menu { overflow-y:scroll!important; max-height:80vh!important; -overflow-scrolling:touch!important; -webkit-overflow-scrolling:touch!important; }
This will fix the nonresponsive menu problem on Divi mobile.
Joe is an experienced full-stack web developer with a decade of industry experience in the LAMP & MERN stacks, WordPress, WooCommerce, and JavaScript – (diverse portfolio). He has a passion for creating elegant and user-friendly solutions and thrives in collaborative environments. In his spare time, he enjoys exploring new tech trends, tinkering with new tools, and contributing to open-source projects. You can hire me here for your next project.
Similar Articles
- 30 Best Download Plugins for WordPress File Sharing & More
- 30+ Best WordPress Mailing List Plugins for List Building
- 35+ Best Image Optimization Plugins for WordPress Loading Speed Optimization
- 30+ Best WordPress Anti-Spam Plugins for Total Spam Control
- How to Display All Products Purchased by User – Purchase History
- How to Add New Menu in My Account Page Menu in Woocommerce
- 30+ Best WordPress Backup Plugins to Protect Your Site
- How to Create Separate WordPress Posts Page or Blog Page
- How to Set Featured Products In WooCommerce
- 30+ Best Forum WordPress Plugins for Building a Community
- 30+ Best Google Analytics Plugins for Your WordPress Site
- How to Redirect On Refresh WordPress Page » Detect Page Refresh PHP
- 30+ Best WordPress Caching Plugins to Speed Up Your Website
- 30+ Best WordPress Affiliate Plugins for All Affiliate Networks
- How to Check If Plugin is Active In WordPress [ 3 WAYS ]
- 30 Best WordPress Events Plugin for Better Events Management
- List of 30+ Overall Best WordPress SEO Plugins For Higher Ranking
- How to Add Active Navigation Class Based on URL
Comments are closed.