Guest Posted November 8, 2021 Share Posted November 8, 2021 (edited) Hello! I have two buttons on my website that are side-by-side and both left-aligned. I've adjusted the widths so that they are spaced evenly with this: .sqs-block-button .sqs-block-button-element { display: inline-block; width: 150px; ;} On mobile, the second button is pushed below the first, which is perfect. However, on Tablet, they are overlapping. I've been searching like crazy to find a fix, but no luck. Edited November 8, 2021 by Taylormoooon Link to comment
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 13 hours ago, Taylormoooon said: Hello! I have two buttons on my website that are side-by-side and both left-aligned. I've adjusted the widths so that they are spaced evenly with this: .sqs-block-button .sqs-block-button-element { display: inline-block; width: 150px; ;} On mobile, the second button is pushed below the first, which is perfect. However, on Tablet, they are overlapping. I've been searching like crazy to find a fix, but no luck. Kindly share your site with protected password to check it together BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox, video lightbox and much more) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 No-code customisations for Squarespace 🚀 Learn how to rank new pages on Google in 48 hours! If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
Guest Posted January 21, 2022 Share Posted January 21, 2022 On 11/9/2021 at 12:31 AM, bangank36 said: Kindly share your site with protected password to check it together Hello! It's been some time. The website is open and it is www.jaypigs.com The buttons are in the first section and they are good on mobile and desktop, but still overlapping on Tablet. Thanks! Link to comment
tuanphan Posted January 25, 2022 Share Posted January 25, 2022 On 1/22/2022 at 2:24 AM, Taylormoooon said: Hello! It's been some time. The website is open and it is www.jaypigs.com The buttons are in the first section and they are good on mobile and desktop, but still overlapping on Tablet. Thanks! Add to Design > Custom CSS /* Tablet buttons overlap */ @media screen and (max-width:900px) and (min-width:641px) { div#block-yui_3_17_2_1_1635815162772_5714+.row>.col:not(:first-child):not(:last-child) { width: 50%; } div#block-yui_3_17_2_1_1635815162772_5714+.row>.col:first-child, div#block-yui_3_17_2_1_1635815162772_5714+.row>.col:last-child { display: none; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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