Hi,
I’ve just noticed that when www.impactwroughtiron.com.au loads on my iPhone that the menu is opened fully pushing the ‘above fold’ info down so it can’t be seen.
Can anyone please offer some help to make it operate normally again?
It happens on desktop too. Just narrow your browser window to see. The JS styles only kick in after the toggle button has been clicked, so you need to modify the script so that it initially hides the menu on certain screen sizes and then shows it on toggle.
The more correct fix is to reverse the responsive styles so that the menu is closed by default and then the toggle should add the class to show the menu.
Thanks Paul,
But I can’t get this to work despite adding your media query.
It seems when I use the menu in desktop resolution, it activates the mobile toggle.
I.e. The mobile menu is found to be open as a result of operating the large format menu.
You seem to have commented out the display:none which was the rule for hiding the menu on small screen.
When I inject the styles into yor page the menu works fine for me.
The only time the hamburger will be open is when you go to small screen and open it. If you then go to large screen while it is open and then back to small screen it will of course still be open.
Unless I’m missing some other function of your menu as there seems to be no operation at larger screens as the menu is just showing by default?