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 Align primary menu to the bottom of header logo

Discussion in 'Free Divi Community Forum' started by Matt Lewis, Sep 30, 2021.

  1. Matt Lewis

    Matt Lewis New Member

    I am building a new website at rbizone.com and it's bothering me that the primary menu is centered vertically against the header logo instead of being aligned to the bottom of the logo. I know I can use padding, but if i do that the "shrink when scrolling" default functionality goes away. Is there a way I can do both?

    TIA,
    -M
     
    1. PRO MEMBER PERKS Divi.Help Header AI Generator - Try the power of AI to generate a custom Divi header for you:Try Now
  2. Matt Lewis

    Matt Lewis New Member

    A little more info... If I add the below, it gets the initial look I want... but after you scroll on the page and the overall menu bar shrinks a bit... it no longer works? Is there a way to do this by a percentage instead of exact pixels?

    #top-menu-nav {
    position: relative;
    top: 15px;
    }
     
  3. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try below CSS at WP Admin > Divi > Theme Options > Custom CSS:
    Code:
    Log In or Sign Up to view this code.
     
    1. PRO MEMBER PERKS Beautifully crafted custom colored 'Digital Marketing' Divi layout for all Pro members:View Demo
  4. Matt Lewis

    Matt Lewis New Member

    This is EXACTLY what I wanted! Thanks so much for the help!!!