Enol Posted February 20, 2022 Posted February 20, 2022 (edited) I want to change the mobile menu so it 1. has a white background with black text, 2, the pages inside the folders in the menu are hidden unless clicked, like on the desktop site, 3. the font size is much smaller and 4. the menu is minimized unless clicked. And then comes out from the side and not the top. I would also like a hamburger symbol and not “menu” if it is possible. I managed to change the size and colour, but then the menu just stayed open, and wouldn’t close. I am using the wells template. This is the code I used, but then the menu just stayed open and you could not click it to close it. @media screen and (max-width:640px) { div#mobileNav { background: white; height: 450px !important; } } #mobileNav li { a { color: hsl(0, 0%, 0%) !important; font-weight: 400; line-height: 1.3em !important; } &.active-link a { font-weight: 700 !important; } } /* mobile items size */ #mobileNav a { font-size: 10px !important; } Edited February 20, 2022 by Enol
Beyondspace Posted February 22, 2022 Posted February 22, 2022 On 2/20/2022 at 11:33 PM, Enol said: I want to change the mobile menu so it 1. has a white background with black text, 2, the pages inside the folders in the menu are hidden unless clicked, like on the desktop site, 3. the font size is much smaller and 4. the menu is minimized unless clicked. And then comes out from the side and not the top. I would also like a hamburger symbol and not “menu” if it is possible. I managed to change the size and colour, but then the menu just stayed open, and wouldn’t close. I am using the wells template. This is the code I used, but then the menu just stayed open and you could not click it to close it. @media screen and (max-width:640px) { div#mobileNav { background: white; height: 450px !important; } } #mobileNav li { a { color: hsl(0, 0%, 0%) !important; font-weight: 400; line-height: 1.3em !important; } &.active-link a { font-weight: 700 !important; } } /* mobile items size */ #mobileNav a { font-size: 10px !important; } Can you share your site with the protected password so we can take a look? BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox - PDF Lightbox popup - ...) </> 🗓️ Delivery Date Picker (Date picker form field) Gallery block 7.1 workaround </> No-code customisations for Squarespace
Enol Posted February 22, 2022 Author Posted February 22, 2022 Hey! I sent it to you as a private message, since the website address is my full name. Thank you 🙂 Beyondspace 1
tuanphan Posted February 27, 2022 Posted February 27, 2022 Have you solved this yet? 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!)
aaaallleeexx Posted April 24, 2022 Posted April 24, 2022 hello! I'm interested in exactly the same thing - using the code I got the same problems? how can I solve this? www.alexcomansn.com @media screen and (max-width:640px) { div#mobileNav { background: white; height: 450px !important; } } #mobileNav li { a { color: hsl(0, 0%, 0%) !important; font-weight: 400; line-height: 1.3em !important; } &.active-link a { font-weight: 700 !important; } } /* mobile items size */ #mobileNav a { font-size: 10px !important; }
tuanphan Posted April 26, 2022 Posted April 26, 2022 On 4/24/2022 at 7:58 PM, aaaallleeexx said: hello! I'm interested in exactly the same thing - using the code I got the same problems? how can I solve this? www.alexcomansn.com @media screen and (max-width:640px) { div#mobileNav { background: white; height: 450px !important; } } #mobileNav li { a { color: hsl(0, 0%, 0%) !important; font-weight: 400; line-height: 1.3em !important; } &.active-link a { font-weight: 700 !important; } } /* mobile items size */ #mobileNav a { font-size: 10px !important; } With color/background, add this to Design > Custom CSS div#mobileNav { background-color: white; } div#mobileNav * { color: black !important; } 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment