MJohn Posted June 7 Share Posted June 7 Hi everyone! How can I prevent side-by-side buttons from overlapping on smaller screen sizes (screenshot attached)? Clearly, there's something preventing side-by-side text boxes from overlapping (the white 'buttons') so what is it and how can I apply it to the actual buttons (the red outline buttons)? Thanks in advance! PW: demo 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
Ziggy Posted June 7 Share Posted June 7 Can you share your website URL? Generally the reason buttons overlap in 7.1 FE is that the button blocks are overlapping in the grid. In this case it may be that, or it may be that the text is too long and that is causing the buttons to overlap. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? Buy me a coffee? Link to comment
MJohn Posted June 8 Author Share Posted June 8 Oh I'm sorry! I was sure I put in the URL. It's https://invivocue.squarespace.com/human-immune-system-mouse-himice Noted on what you're saying about the text being long but it works fine when it's a text box. So why do the buttons overlap instead of defaulting to the same layout at the text boxes? 👋 Michelle John 💕 Catchafire volunteer 🖥️ Web & graphic design for churches, nonprofits & small businesses 🔗 brambledesign.co Link to comment
Ziggy Posted June 8 Share Posted June 8 3 hours ago, MJohn said: Noted on what you're saying about the text being long but it works fine when it's a text box. So why do the buttons overlap instead of defaulting to the same layout at the text boxes? I'm not really sure why buttons wouldn't word-break like a text box, but that doesn't strike me as a particularly great solution because of the readability of broken words. You could try this CSS that will vary the font size based on the viewport width, and hopefully prevent the worst of the overlapping: @media only screen and (min-width:768px) and (max-width:1200px) { section[data-section-id="6384c31766ef155fd6128ff2"] { .sqs-button-element--secondary { font-size: 1.5vw !important; } } } tuanphan 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) ✨ Spark Plugin (Referral link) ☕ Did I help? 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