Add this code into function.php
of your child theme.
Please make all changes to the child theme files, and do not add the code directly to the theme files, otherwise after updating the theme your fixes will be lost
function.php
// ------------------------------------------------------
// Groovy Menu plugin integration
// ------------------------------------------------------
if ( ! function_exists( 'gm_child_show_groovy_menu' ) ) {
function gm_child_show_groovy_menu() {
if ( function_exists( 'groovy_menu' ) ) {
groovy_menu();
// Remove theme legacy top header section
remove_action( 'auxin_after_inner_body_open', 'auxin_the_top_header_section', 4 );
// Remove theme legacy main header section
remove_action( 'auxin_after_inner_body_open', 'auxin_the_main_header_section', 4 );
}
}
}
add_action( 'auxin_after_body_open', 'gm_child_show_groovy_menu', 1 );
Note: You can find the child theme for the Phlox Theme in the
Groovy Menu > Integration section