Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1275823

    Hi! I’ve created a submenu item for the top bar, but when you hover ‘Bright executives’ you can’t click on the item ‘Interim management’ down under. As if you’re not hovering the menu any more and the submenu disappears.

    Any ideas?!

    See shorturl.at/vwCFK

    Thanks a lot! Janneke

    #1276687

    Hey jannnnnneke,

    Thank you for the inquiry.

    The submenu item is not accessible because the header_meta container where the top menu resides is under the header_main container — the header_main is the logo and main menu container. We could adjust the stack order or the z-index property of the header_meta so that it is positioned above the header_main container but this will cause the header_meta container to cover the logo, which is supposed to overlap or overflow on both containers.

    #header_meta {
    	position: relative;
    	z-index: 50;
    }
    

    Another solution is to adjust the width of the top bar, but it does not look as good as the current design.

    #header_meta {
    	position: relative;
    	z-index: 50;
    	width: 80%;
    	float: right;
    }
    

    Best regards,
    Ismael

    #1276778

    Hi Ismael,

    That’s too bad. I also see that the purple button in top header isn’t very good clickable. Is there another way to create a sub menu item in here?

    #1277225

    Hi,

    You could set up a new menu location in the main header area by editing the includes > helper-main-menu.php file or use the existing template hooks inside the header template such as the ava_after_main_menu, and adjust its position with css so that it looks like it is inside the top bar. You will need the wp_nav_menu function to do this.

    // https://developer.wordpress.org/reference/functions/wp_nav_menu/

    The top menu is usually used as a support navigation and is not really intended to be used for multilevel menu.

    Best regards,
    Ismael

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