AmericanDreadnought Posted February 21 Posted February 21 I have a site that I use css code to keep the site navigation from stacking, and it is pushing the mobile logo off-screen. It's only doing it to this site... I have a site with identical css that does not have this issue. The image shows what I mean, but I changed the mobile layout to prevent this. You can still see how the mobile logo is off-center.
Ziggy Posted February 21 Posted February 21 Can you share your website URL and the code you've used? 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?
AmericanDreadnought Posted February 21 Author Posted February 21 tridentservices.squarespace.com /* Change dropdown menu background */ .header-nav-folder-content { background: #0d1632 !important; } // Header Nav Width Adjustment .header-layout-branding-center-nav-center .header-title-nav-wrapper { flex: 2 0 100%; } .header-layout-branding-center-nav-center .header-actions--right { position: relative; right: 4vw; } .header-menu-nav-item a { font-size: 30px; } .header-nav-folder-item a { color: #ffffff !important; }
Solution Ziggy Posted February 21 Solution Posted February 21 I've edited your code so the width change only affects desktop: /* Change dropdown menu background */ .header-nav-folder-content { background: #0d1632 !important; } // Header Nav Width Adjustment @media only screen and (min-width:768px) { .header-layout-branding-center-nav-center .header-title-nav-wrapper { flex: 2 0 100%; } .header-layout-branding-center-nav-center .header-actions--right { position: relative; right: 4vw; } } .header-menu-nav-item a { font-size: 30px; } .header-nav-folder-item a { color: #ffffff !important; } AmericanDreadnought 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! 📈 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?
AmericanDreadnought Posted February 22 Author Posted February 22 Very nice of you to help. Thank you! Ziggy 1
Ziggy Posted February 22 Posted February 22 38 minutes ago, AmericanDreadnought said: Very nice of you to help. Thank you! You're welcome 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment