Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1431987

    Hi,

    I am looking for a solution to align the menu-items in header at the bottom instead of center.

    The suggested solutions with CSS (line-height or padding-top) in other similar topics aren’t very useful, if you use a shrinking header. Because as soon as you scroll, the menu-items are moving out from the header. And they are back again in the header as soon as the “header-scrolled” class is added.

    Is there a solution to modify the JS, which adjust the line-height of the menu-items while scrolling with the shrinking header?

    Regards,
    Bernd

    #1432088

    Hi Bernd,

    Have you tried changing Menu And Logo Position to Logo Left, Menu below? in Enfold > Header > Header Layout.
    That setup should not hide the menu items when you scroll down the page.

    Best regards,
    Nikko

    #1432130

    can your try in quick css:

    @media screen and (min-width:1226px) {  
      #top #header .av-main-nav > li > a {
        line-height: unset !important;
        height: unset !important;
      }
      #top div.avia-menu {
        height: 100%;
      }
      #top #avia-menu {
        position: relative;
        top: calc(100% - 35px)
      }
    }
    #1432138

    Hi Nikko
    Yes, but that’s not what I was looking for ;-)
    Regards
    Bernd

    #1432139

    Hi Guenni007
    Thanks a lot. This works :-)
    This topic can be closed.
    Regards
    Bernd

    #1432156

    Hi,

    Thanks for the update, we’ll close this thread for now then. Please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Align Menu on the bottom of header instead of center’ is closed to new replies.