Hey @galbaras we are planning to update the breakpoint for the mobile menu in upcoming versions. We will update you once it is updated.
Can you please clarify the second sentence, do you want to hide the menu from all devices?
[ Signature deleted ]
Yes, I want to have the desktop menu on every device. I’ve been able to achieve this with a theme_mod_responsive_mobile_header_breakpoint
filter (set the break to 1), and the menu doesn’t change.
However, the code and styling for the mobile menu are loaded along with the theme’s scripts and styles regardless, and that’s wasteful.
If will be good to be able to completely disable this feature and prevent the respective scripts and styles from loading, because that’s good for performance.
Thanks for your feedback @galbaras
Forwarding this to feedback to our dev team.
Regards,
CyberChimps Team
@galbaras,
Hi there,
Good job getting this sorted, may I ask how to implement the ‘theme_mod_responsive_mobile_header_breakpoint filter’ please?
It’s not something I’ve seen before.
Thanks for you your help!
@cyberchimps,
+1 for having the option to disable the mobile menu function.
I use the WP Mobile Menu plugin as it allows me to have menus on one side and the woocommerce cart on the other.
Making the additional code for the theme mobile menu unnecessary.
Appreciate all the work you guys have putting in lately, theme is awesome, and continuing to get even better 🙂
add_filter( 'theme_mod_responsive_mobile_header_breakpoint', 'custom_responsive_mobile_header_breakpoint' );
function custom_responsive_mobile_header_breakpoint( $break_point ) {
return 1;
}
@galbaras @japenz
Thanks for the suggestion. We will consider this in a future release.