Karoline94 Posted June 14, 2022 Share Posted June 14, 2022 Site URL: https://www.xn--gteagency-f3a.dk/ Hi! I used this guide to create a burger menu: https://ryandejaegher.com/how-to-add-a-desktop-burger-to-squarespace-7.1/ But when using this code, the menu disappears on the mobile version: /* This will hide the desktop burger on mobile devices*/@media (max-width: 767px) { a[href='/burger'] { display: none; } } If I then remove the code, the menu says "Burger menu >" and when I click that I get to the actual menu (see attached photos). Can anyone help me, please? Link to comment
tuanphan Posted June 15, 2022 Share Posted June 15, 2022 Add this to Design > Custom CSS @media screen and (max-width:991px) { .header-menu-nav-folder { transform: unset !important; } .header-menu-controls.container.header-menu-nav-item { display: none; } [data-folder="root"]>.header-menu-nav-folder-content:first-child { display: none; }} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Karoline94 Posted June 15, 2022 Author Share Posted June 15, 2022 Omg, have been struggling for so long with this and now it works. THANK YOU! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment