1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, 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

Solved Dropdown Menu Issue

Discussion in 'Free Divi Community Forum' started by David1, Sep 28, 2020.

  1. David1

    David1 New Member

    Some of my dropdown menu items are breaking into two lines. I've tried adding the following CSS to increase the width of the drop down -

    /* Increase width of drop-down menus */
    @media screen and (min-width: 981px) {
    .sub-menu {
    min-width: 300px;
    }
    #top-menu li li a {
    width: 260px;
    /* Extra - Reduce padding on list items */
    padding: 4px 12px;
    }
    }

    It does allow me to increase the width of the dropdown, but no matter how wide I make the menu the text continues to break... any ideas?
     
    1. PRO MEMBER PERKS Divi Ultimate Header Plugin - Add custom vertical navigation for your Divi site. Turns into slide in menu on mobile:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

  3. David1

    David1 New Member

    1. PRO MEMBER PERKS Divi Block Pro - Premade dynamic background hover design for your Divi site without using any plugins:View Demo