This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: Mobile Menu

Jason Bobich

I removed this article because it doesn’t apply in all scenarios, as you’re seeing now.

Ok, so remove this part:

// Change responsive nav menu id
function apply_mobile_menu( $menu_id ) {
	$menu_id = 'mobile-menu'; // Our registered "Mobile Menu" ID
	return $menu_id;
add_filter( 'themeblvd_responsive_menu_location', 'apply_mobile_menu' );

And replace it with this:

function my_header_menu() {
	$menu_style = themeblvd_get_option('menu_style');
	echo themeblvd_nav_menu_select( 'mobile-menu' );
remove_action( 'themeblvd_header_menu', 'akita_header_menu' );
add_action( 'themeblvd_header_menu', 'my_header_menu' );

This is the “akita_header_menu” function copied from /includes/theme-functions.php with the modification of feeding your menu ID “mobile-menu” into the themeblvd_nav_menu_select function.