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

centre align two menu items

Discussion in 'Free Divi Community Forum' started by itsacroissant, May 28, 2020.

  1. itsacroissant

    itsacroissant New Member

    Hi, I would like to centre align two menu items, while keeping other items right-aligned and the logo left-aligned, similar to in this thread - https://divi.help/threads/how-to-align-menu-items.3961/

    - but the code there didn't work, maybe because my menu is not full width?

    My website is here - https://bit.ly/3etioMw - I would like to keep the phone number and email address where they are

    Thank you!
     
    1. PRO MEMBER PERKS Divi Powerful Child Theme - Power up your Divi sites with tons of new functionalities & premade elements:Learn More
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try the below CSS in Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
  3. itsacroissant

    itsacroissant New Member

    Thanks, unfortunately this code didn't work
     
    1. PRO MEMBER PERKS Divi.Help Pro Layout Packs - Agency Divi layout pack featuring modern overlay archive blog layout with hover effects:View Demo
  4. Divi.Help

    Divi.Help Administrator
    Staff Member

  5. itsacroissant

    itsacroissant New Member

    Perfect! amazing!! thank you!!!
     
    1. PRO MEMBER PERKS Divi Block Pro - Powerful Divi header builder for you to mix & match premade header design, mobile menu & more:Learn More
  6. itsacroissant

    itsacroissant New Member

    Hello, thanks again for this but my client has an issue with how the menu items are left-aligned until the page is fully loaded (it goes over the menu on smaller screens) - https://bit.ly/3etioMw

    Is there any way around this? or is it possible to add a delay to this displaying, until it's after loaded in the right place?
     
  7. itsacroissant

    itsacroissant New Member

    Can I replace the link in my previous post with this - https://bit.ly/3etioMw ? edit function says I only had 10 minutes..
     
    1. PRO MEMBER PERKS Divi Block Pro - Premade gradient text design for your Divi site without using any plugins:View Demo
  8. Divi.Help

    Divi.Help Administrator
    Staff Member

    Edited for you.

    As for your issue, try this CSS in WP Admin > Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.