Archived topic

Empty space in mega menu

5 replies · Started by webintas on February 29, 2020

Viewing posts 1–6 of 6

Hi there,

Do your sub-menus look like the first screenshot in that article?

I'm only seeing one level of sub-menu in your menu, instead of seeing multiple parent/sub-menus.

Let me know :)

Hi there,

simplest way would be to change the order of those menu items.

Move Info-materiale om ELN before Værd at vide

Hi David

Thanks for your reply. I see. That's a fix. However, it's important to me and my client that the menu order is in the way it is now.

How can we achieve that?

/ Peter

You can do this:

1. Edit the Info-materiale om ELN menu item and give it a CSS Class of: lift-menu-item

Adding CSS Class to Menus: https://docs.generatepress.com/article/using-the-wordpress-menu-builder/#custom-classes

2. Add this CSS:

@media(min-width: 769px) {
    .main-navigation ul ul li.lift-menu-item {
        margin-top: -75px;
    }
}

Please note, any changes to the menu items, eg. adding items or removing them may require this CSS to be edited.

This archived topic is closed to new replies.