Tagged: ,

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1078674

    Hello Moderator,

    please tell me, where can I adjust the upper distance of the submenus?
    My header has a height of 153 px. Currently the submenu also starts there. How can I set the submenu to start 100 pixels from the top?

    It’s urgent.

    Regards

    #1079376

    Hey Anke,

    Could you post a link to where we can see the element in question please?

    Best regards,
    Rikard

    #1079408

    Hi Rikard,
    yes, I will give you the link to the website in a private post (below). Please look at the menu item “Über uns”, there is a submenu.

    Regards

    #1079557

    Hi,

    Thanks for that. Please try the following in Quick CSS under Enfold->General Styling:

    ul.sub-menu {
      margin-top:-50px !important;
    }

    Best regards,
    Rikard

    #1079619

    Hi Rikard,
    the code is only OK when you open the website, but if you scroll down, the mainmenu is hidden by the submenu.
    Look at two screenshots of the menu:

    Screenshot 1) When you open the site: OK

    Screenshot 2) When scrolling the site: not OK

    What can I do?

    Regards
    Anke

    #1080278

    Hi Rikard,
    can you please make me a new suggestion? Otherwise I won’t get ahead with my work.
    It’s urgent.

    Regards
    Anke

    #1080845

    Hi Anke,

    Please try this instead:

    ul.sub-menu {
      margin-top:-50px;
    }
    
    .header-scrolled ul.sub-menu {
      margin-top:0;
    }

    Best regards,
    Rikard

    #1081797

    Hi Rikard,

    thanks, it works.

    But for the burger menu you have to add the following code
    #av-burger-menu-ul .sub-menu li:first-child a {
    margin-top: 50px;
    }

    Regards
    Anke

    #1082552

    Hi Anke,

    Glad to hear that.
    Let us know if you still need further assistance.

    Best regards,
    Nikko

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.