In order to remove navigation container, theme location specified in functions.php and used among arguments in function wp_nav_menu ( eg. ‚theme_location’ => ‚primary-menu’ ) must have a menu assigned to it in administration! Otherwise argument ‚container’ => ‚false’ is ignored.