I wanted to just share a slight glitch that happens when editing the horizon theme. When switching between desktop and mobile, the menu changes to the mobile menu, even when I revert to desktop view (until I refresh the page by clicking the website logo).
I also wanted to request that the team add the option to adjust the spacing around the logo in the header for mobile. Currently, there is only the option to adjust spacing for the desktop logo.
I experience the same. I notice that the class ‘desktop:hidden is not added, which is added in #updateMenuVisibility. So it seems the javascript code crashed (maybe)
This behavior actually happens only inside the Theme Editor, not on the live store. When you switch between desktop and mobile views in the editor, Shopify doesn’t always re-apply the responsive “hidden” classes in real time. Because of that, the mobile menu can stay visible even after switching back to desktop view until you refresh the page.
On the live site, the JavaScript checks your screen size on page load and correctly hides or shows the menus, so it’s not a theme bug.
However, if you also want to make sure the mobile side drawer never appears on desktop, you can force-hide it with CSS: