Quantcast
Viewing all articles
Browse latest Browse all 22091

style960 on "Switch header on mobile"

Hi,

I'm using Buddyboss 3.1.6 running a child theme with a fixed header. To get the logo, main menu, and register/login links to display inline, I edited the themes default header.php. This in turn caused problems with the theme on mobile as the main menu would no longer display.

To try and get around it, I've uploaded the original header.php to my child theme, and named it header-mobile.php. Then in index.php added this:

if ( wp_is_mobile() ) :
	get_header( 'mobile' );
else :
	get_header();
endif;
?>

But unfortunately the menu is still missing on mobile. I don't know how to check the right header file is being called? And Buddyboss support have suggested I now try here for help resolving. Site is http://dev.everygoalmatters.com - minimize the browser below 721px and the right button should slide out to show the main menu.

Any suggestions welcome.

Thanks,
Paul.


Viewing all articles
Browse latest Browse all 22091

Trending Articles