sweetchickflorals Posted February 23 Share Posted February 23 (edited) Hi all! I was hoping someone could help me fix this. On our site, the cart icon seems to be sitting outside of the main content on the site. https://dahliasocietyofohio.org I also tried adding a button and that was even further off to the right. I tried inspecting the code to see if there was anything obvious I could change in the styles but didn't see anything. Anyone have an idea on how to fix? I'll also note it seems to be just this particular header style (where it's centered) if I swap it then the cart appears where it should. Jess Edited February 23 by sweetchickflorals Link to comment
Ziggy Posted February 23 Share Posted February 23 It looks like your website has custom coding that extends the width of the logo and navigation away from the default of 67% (in this configuration) to 100%. I can understand why this was changed with code, it allows the navigation to all sit nicely on one line, but the unintended consequence is that the elements that were supposed to fit into the 33% now extend off the side of the screen. This is what that custom code looks like: .header-layout-branding-center-nav-center .header-title-nav-wrapper { display: flex; flex-direction: row; flex-wrap: wrap; flex: 0 0 100%; justify-content: center; align-content: center; margin-left: auto; } If you reduce the 100% to maybe 85% it may keep the cart on the page. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) Link to comment
sweetchickflorals Posted February 27 Author Share Posted February 27 Thank you! I'll give that a try. 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