The mobile menu appears at 768px and I want to change that to a custom value.
I've read on here to do the following:
The JS for the menu that has that functionality can be found in
lib/web/mage/menu.js
First create the folder structure in your theme ex:
[Namespace]/[theme_name]/web/mage/
And copy menu.js from lib/web/mage/menu.js
to [Namespace]/[theme_name]/web/mage/menu.js
And change
mediaBreakpoint: '(max-width: 768px)'
to
mediaBreakpoint: '(max-width: 1025px)'
But this isn't working, can anyone help please?
Best Answer
Override
in your theme
Change in line No. 400
TO
Override
in your theme
Change in line No. 51
TO
Change in line No. 275
TO