em_ Posted May 26, 2023 Share Posted May 26, 2023 I wanted all my navigation options to be under one button, so I added a folder and all my pages within that. It worked great until I checked the mobile version. Now I need to click a button, it takes me to the MENU folder (aka the only option on my nav) and from there I need to click to see my pages. Im trying to find a way to show the folder items immediately on the mobile menu without requiring an additional clicks, OR just the mobile Squarespace menu display like the desktop version. Link to comment
tuanphan Posted May 28, 2023 Share Posted May 28, 2023 Add this to Design > Custom CSS to fix problem on mobile @media only screen and (max-width: 767px) { .header-menu-nav-folder[data-folder="root"] { display: none !important; } .header-menu-nav-folder-content .header-menu-controls { display: none; } .header-menu-nav-folder:not([data-folder="root"]) { transform: unset; transition: unset; } } 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
kenvelo Posted August 26, 2023 Share Posted August 26, 2023 (edited) Hi, I have similar problem. I use a megamenu, so in my navigation bar I have just one folder "site map". When you hover over it on PC it triggers the mega menu, but on mobile I face the same issue as the OP. I tried using the code @tuanphan provided and changed "menu" to "site-map", but it doesn`t work. Is there a way to display the folder items immediately on the mobile menu ? Help. Edited August 26, 2023 by kenvelo Link to comment
tuanphan Posted August 29, 2023 Share Posted August 29, 2023 On 8/26/2023 at 8:14 PM, kenvelo said: Hi, I have similar problem. I use a megamenu, so in my navigation bar I have just one folder "site map". When you hover over it on PC it triggers the mega menu, but on mobile I face the same issue as the OP. I tried using the code @tuanphan provided and changed "menu" to "site-map", but it doesn`t work. Is there a way to display the folder items immediately on the mobile menu ? Help. That code should work. What is your site url? We can check it again easier 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment