Fusion (mysitemyway)

Fusion uses a dual-menu system (one for desktop, one for mobile). To replace this with just a single UberMenu, we can use the Fusion hook system (this may also be applicable to other mysitemyway themes)

You would add this code in a child theme’s functions.php

//Remove the theme menu, add UberMenu instead
add_action( 'wp_head' , 'replace_menu_with_ubermenu' );
function replace_menu_with_ubermenu(){
	if( function_exists( 'ubermenu' ) ){
		remove_action( "mysite_header", 'mysite_primary_menu' );
		remove_action( 'mysite_header', 'mysite_responsive_menu' );
		add_action( 'mysite_header' , 'integrate_ubermenu' );
	}
}
//Manual integration code within this function
function integrate_ubermenu(){
	if( function_exists( 'ubermenu' ) ) ubermenu( 'main' , array( 'theme_location' => 'primary-menu' ) ); 
}

You may also wish to add this CSS in your CSS Tweaks if your header layout isn’t working properly

#header{
    height:auto;
}
#header #primary_menu,
#header .logo{
    position:relative;
    top:auto;
    right:auto;
}

On this page