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

Full width menu: how to spread out horizontally and change active color.

Discussion in 'Free Divi Community Forum' started by A.Muller, Feb 2, 2020.

  1. A.Muller

    A.Muller New Member

    I’m trying to create a custom full-width menu below the header section. I tested two options to get there, a) a full-width menu module, b) a normal menu module, row settings to width 100% - both working equally, but not how we need them.

    I need the links to remain vertically centered when I reduce the height of the menu bar. Found a code that worked (display: flex;
    flex-direction: column;
    justify-content: center;})


    But now the links should be spread evenly across the width of the menu bar, not lumped in the middle. How can I achieve this? Can t find a code that works.

    And where is possible to change the background color for the active link ? (like a tabs menu)
     
    1. PRO MEMBER PERKS Divi Ultimate Blog Plugin - Easily set awesome default design for your Divi single blog page:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Just set a max-width for the row settings.
    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
    **Adjust the color code to fit your need.
     
  3. A.Muller

    A.Muller New Member


    Thanks so much for the quick reply. I tested your suggestions. the row width didnt have an effect.
    The background code works, but not quite how I meant it.
    Seethe two screens shots, unfortunately the site is in development modem so I can't share a link

    a) what it looks like, the background only changes around the link text and the links aren't spaced out and
    b) what we want, links in a white block with more padding

    Hope this makes sense..... Any other ideas?

    Bildschirmfoto 2020-02-04 um 08.55.04.png Bildschirmfoto 2020-02-04 um 08.56.30.png T
     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    Sorry to say that I couldn't check further without URL.