NumberNine Posted May 30, 2023 Share Posted May 30, 2023 Good morning everyone, i've been finding all the answers for most of my problems on this forym and really wanted to thank all the people that put their knowledge to the service of others. I've been trying different solutions found on the forum but couldn't solve my problem. The website is here https://turkey-octahedron-8k35.squarespace.com/ and the password is NUMBERNINE I would like to put the navigation menu on one line and keep everything centered. I thought the problem was solved with this code .header-layout-branding-center-nav-center .header-title-nav-wrapper { flex: 0 0 93%; font-size: 0.5em; } but this morning i noticed two things 1) That the header breaks when scaling down the browser as in the attached screenshot. 2) Even at full scale the header is actually uncentered when i look at the social icon. Can someone help me put the navigation menu on one line and keep everything centered? Thank you, Neri Link to comment
Solution Ziggy Posted May 30, 2023 Solution Share Posted May 30, 2023 Hi @NumberNine The problem is that you have increased the central portion of the flex-grid to 93% but the left and right (social icon and button respectively) are still set to 25% hence why you are getting overlaps when the screen is smaller and generally a size imbalance. The single social icon isn't posing a problem, and we can fix the button with this additional Custom CSS: .header-layout-branding-center-nav-center .header-actions--right { flex: 0 1 7%; max-width: 7%; } Let me know how that works for you. NumberNine 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
NumberNine Posted May 30, 2023 Author Share Posted May 30, 2023 Thank you very much for the explanation! This solved the problem. Thanks again! Ziggy 1 Link to comment
NumberNine Posted May 30, 2023 Author Share Posted May 30, 2023 Hello, thanks again, but i see that on the mobile version the logo isn't centered anymore, Can you help me out? Thanks again, Neri Link to comment
Ziggy Posted May 30, 2023 Share Posted May 30, 2023 Try replacing the code you have with this: @media only screen and (min-width:768px) { .header-layout-branding-center-nav-center .header-title-nav-wrapper { flex: 0 0 93%; font-size: 0.5em; } .header-layout-branding-center-nav-center .header-actions--right { flex: 0 1 7%; max-width: 7%; } } By putting the code inside a media query with a min-width the code should only be applied to the desktop view. trusocialite, tuanphan and NumberNine 2 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
NumberNine Posted May 30, 2023 Author Share Posted May 30, 2023 Perfect thank you very much! Ziggy 1 Link to comment
dmharris34 Posted June 12, 2023 Share Posted June 12, 2023 Hey gang, my website is going onto a section line and proceeding to stack when sized smaller. I would like to avoid it. Sunsetlake.org Link to comment
Ziggy Posted June 12, 2023 Share Posted June 12, 2023 3 hours ago, dmharris34 said: Hey gang, my website is going onto a section line and proceeding to stack when sized smaller. I would like to avoid it. Sunsetlake.org I'm not sure what this means? Can you elaborate? Are you referring to the navigation or buttons? both? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dmharris34 Posted June 13, 2023 Share Posted June 13, 2023 Hey @Ziggy fixing both of would be great. Link to comment
Ziggy Posted June 13, 2023 Share Posted June 13, 2023 The first thing that would help is removing the 226px left/right padding on the header and content. Should be found in the style menu under spacing. I would suggest using something more like the default value of 4vw. To prevent the button text from stacking you need to make the blocks a little wider on the desktop view. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dmharris34 Posted June 13, 2023 Share Posted June 13, 2023 (edited) Hey @Ziggy, This is a 7.0 squarespace site. Are you referring to site padding? Edited June 13, 2023 by dmharris34 Link to comment
Ziggy Posted June 13, 2023 Share Posted June 13, 2023 2 hours ago, dmharris34 said: This is a 7.0 squarespace site. Are you referring to site padding? So it is, a rarer and rarer breed these days. Yes, most likely site padding. What is it currently set to? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
dmharris34 Posted June 13, 2023 Share Posted June 13, 2023 (edited) @Ziggy The site padding is set to 240px. I have it like that because I like that space on the sides. Makes content easier to read / better for user's. A great example of the navigation + buttons not scaling into each other is https://justcreative.com/ When you scale his website, the buttons stay their size and the navigation doesn't start stacking or running into the logo. That's what I desire mine to be. Edited June 13, 2023 by dmharris34 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