Disable flyout (popup) menus in backend

Actually I have found the solution in modern version of wordpress, to disable flyouts a custom CSS of #adminmenuwrap { overflow: hidden; } should be added. I’ve answered in the old theme as well, so if moderators will not delete my answer there again, this topic is redundant

Twenty seventeen theme dropdown menu issue

The solution is usually I use this to call the menu <?php wp_nav_menu( array( ‘theme_location’ => ‘top’, ‘menu_class’ => ‘nav-menu’, ‘fallback_cb’ => ‘tie_nav_fallback’ ) ); ?> with my HTML staff till twenty twelve if I remember but the new in seventeen that I should call the menu inside <div class=”main-navigation”>