LUNCHBOXCREATIVE Posted March 18 Share Posted March 18 I want a clean look for the menu across the site, so I have arranged all of the Main Navigation pages into a dropdown whose page title is simply "+." The URL slug for this page is "/menu." It looks great on a desktop because, at the top of each page, there is simply a plus sign that, when you mouse over, shows a nice box with the menu items. The issue is, when you are on mobile that initial navigation icon is already simplified, so there ends up being an awkward extra step. When you click the mobile navigation icon, the screen that comes up shows the plus sign and an arrow that you then have to tap in order to bring up the whole menu. Is there a way to eliminate that intermediary tap on mobile? The goal is to modify the mobile menu so that when the mobile navigation icon is tapped, it directly displays the menu items without the extra step of hitting the "+" sign by potentially making it detect a tap on the mobile navigation icon and automatically expand the menu items...? OR Happy to just hide the plus sign on mobile? Any help so appreciated. I am a beginner when it comes to coding. Thanks in advance! Link to comment
Solution sorca_marian Posted March 18 Solution Share Posted March 18 Add the below code in Custom CSS .header-menu-nav-folder--active+div { transform: translatex(0); } .header-menu-nav-folder--active, .header-menu-controls { display : none; } 👨🔧👨💻 Contact me for development work - I’m a Freelancer Software engineer, Architect, and Designer UI/UX 🙋♂️ Squarespace Custom Web Development & Design 📅 Manage Tasks, Take Notes, and Upload Related Images 📹 Squarespace Tutorials for free - YouTube📹 💯🚀 I have worked on over 200 Squarespace sites with custom code for over 9 years 🙋♂️ Let's connect on LinkedIn Link to comment
LUNCHBOXCREATIVE Posted March 21 Author Share Posted March 21 Worked perfectly. Thank you! sorca_marian 1 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