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

Drop Down menu size change?

Discussion in 'Free Divi Community Forum' started by Andrew Edmond, Mar 4, 2021.

  1. Andrew Edmond

    Andrew Edmond Member

    Hi All,

    I am thinking about using the Side Bar Menu for the first time and have used some code from before to make the individual page name in 1 sentence.

    I now need to enlarge the background to suit the text. Can you help?

    https://taxadvisersuk.co.uk/

    Many thanks in advance
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Beautifully crafted Divi layout packs for you to kick start your Divi sites:View Demo
  2. Do you have the width defined somewhere? If so, set it to auto. If not, add this css to the site's custom css area:
    .nav li ul {
    width: 500px;
    }

    @media only screen and (max-width: 767px) {
    .nav li ul {
    width: 240px;

    }

    }

    Change out the width amount for one that works for you. You may also need to set an additional @media for tablet.
     
    Andrew Edmond likes this.