1. PROMO Upgrade to Pro Membership @ $99 / Lifetime & access all our 16+ premium Divi extensions: Divi Block, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Changing the breakpoint to have mobile menu show sooner

Discussion in 'Basic Support Forum' started by Gregory Landry, Jan 25, 2020.

  1. Gregory Landry

    Gregory Landry New Member
    Divi Ultimate Header Plugin

    Hi folks,

    How do I change the breakpoint so the mobile menu shows sooner? My main menu is getting quite long. You can see the menu at https://www.newhampshirebatcontrol.com/. I removed an item from the menu so it's breaking fine now. But, when I add one more item to the main menu one link falls below the others before the mobile menu shows.

    Also, will the media query you give me work with any of your DU Header Styles?

    Thanks,
    Greg
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  2. Divi.Help Pro Support

    Divi.Help Pro Support Administrator
    Staff Member

    You can try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    **Adjust 1040px to be your custom breakpoint.

    Then you will need to proceed to edit the custom header in WP Admin > Divi > DU Header - Library:
    - For the section to show on desktop only (above breakpoint), try to go to the Section Settings > Advanced > CSS Class & add du-desktop
    - For the section to show below the breakpoint, try to go to the Section Settings > Advanced > CSS Class & add du-mobile