katamb Posted July 12 Share Posted July 12 Hi, I used CSS to remove the header and footer sections of my site in desktop in order to create my own. I would like to keep the nav bar in mobile in order to have my logo and hamburger icon up top. My code removed the nav bars from both. Is there a way to retrieve the mobile? Thank you. Link to comment
Lesum Posted July 12 Share Posted July 12 @katamb Hi! Can you share your site URL for context? katamb 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
katamb Posted July 12 Author Share Posted July 12 It’s in development mode and private. Basically I would like to maintain the hamburger menu for mobile, while making my nav bar in desktop look like this website’s: https://www.yeswearemadarts.com I figured I would create my own in desktop since designing the Squarespace built in nav bar is limited. Link to comment
katamb Posted July 13 Author Share Posted July 13 (edited) I made it public, Katabaez.com. I’d like to make the nav bar look like the design underneath while maintaining the mobile nav bar which I hope to keep the same. Thanks! Edited July 13 by katamb Link to comment
Lesum Posted July 13 Share Posted July 13 @katamb Hi! You can add this code to hide the header on desktop and display it only on mobile: @media screen and (min-width: 1025px) { #header { display: none !important; } } The header design you have underneath the actual header can be created using Squarespace's header with custom code. This approach would require much less code and be easier to edit and update compared to the current method you're using. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
katamb Posted July 13 Author Share Posted July 13 Thank you so much, worked like a charm! Would you happen to have the custom codes to make the desktop look header look like that? Link to comment
Lesum Posted July 13 Share Posted July 13 @katamb I don't have the custom codes, but I can write the code solution to achieve your header design on desktop and share it with you. If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
katamb Posted July 13 Author Share Posted July 13 That would be great, I’d really appreciate it! 🙏 Link to comment
Lesum Posted July 13 Share Posted July 13 16 minutes ago, katamb said: That would be great, I’d really appreciate it! 🙏 Sure thing! I'll share the solution shortly. katamb 1 If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
katamb Posted July 13 Author Share Posted July 13 looking forward to it thanks again! Link to comment
Lesum Posted July 13 Share Posted July 13 (edited) I was working on the code; Site is showing private now 🙂. You can publish the site with a sitewide password. Edited July 13 by Lesum If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? 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