Ods1 Posted April 16 Posted April 16 I am having an issue with my site on mobile. The menu button in the header is pushed right past the margin. This is causing white space on the right side when you scroll over. Any help is appreciated. The url is sbgoutfitters.com. The page is still private, password is ForAllMankind Thank you!
Ziggy Posted April 16 Posted April 16 Do you have any custom code on your website? 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Ods1 Posted April 16 Author Posted April 16 Yes. This is all the custom CSS: //Newsletter Block Padding// .sqs-block-newsletter .newsletter-form-field-element { padding-top: 10px !important; padding-bottom: 10px !important; } button.newsletter-form-button.sqs-system-button { padding-top: 10px !important; padding-bottom: 10px !important; } //Main Menu Width// .header-nav { width: 90% !important; flex: 1 1 90% !important; } .header-title-nav-wrapper { flex: 1 0 80% !important; } /* related product 3 items */ .ProductItem-relatedProducts .list-grid .grid-item:nth-child(n+5) { display: none; }
Ziggy Posted April 16 Posted April 16 15 minutes ago, Ods1 said: .header-nav { width: 90% !important; flex: 1 1 90% !important; } .header-title-nav-wrapper { flex: 1 0 80% !important; } This looks like the line that's causing the overflow. 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Ods1 Posted April 16 Author Posted April 16 Thats what i figured. I could try an overflow: hidden code, but dont know if that will move the menu back to where it should be on mobile. Don't want to just bandaid an issue. If there is a way to update the code to fix it I'd rather do it right.
Ziggy Posted April 16 Posted April 16 47 minutes ago, Ods1 said: Thats what i figured. I could try an overflow: hidden code, but dont know if that will move the menu back to where it should be on mobile. Don't want to just bandaid an issue. If there is a way to update the code to fix it I'd rather do it right. What's the purpose of the code? 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! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (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?
Ods1 Posted April 16 Author Posted April 16 The desktop version of the header menu is centered on the page. The text started wrapping onto a second line and that code widened the menu field so it wouldn't wrap.
Ods1 Posted April 16 Author Posted April 16 I was able to fix it. I reduced the width percentage in that code to 70% which is wide enought to keep the desktop navigation links on one line, but also moved the mobile menu back to where it belongs without the overflow. Sometimes talking through the problem brings the solution. Thank you!
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment