Auto Close Menu (one page anchor points)
If you want to auto-close the menu when you have anchor points on a page (like when creating one page websites) you can do this with Divi Mobile.
Simply go to your menu and add the class 'anchorpoint' to your menu items - now when you click on these on mobile, it will scroll to this section and close the menu.
- Go to Appearance > Menus and click on 'screen options'
- Click on 'CSS Classes'
- Add anchorpoint to the menu item.