Maksymrewko Posted October 2, 2021 Share Posted October 2, 2021 Site URL: https://www.desna.ca/register Trying to get the buttons to align side by side instead of stack on mobile. I was able to do this on another page but the same code can not be applied here due to the 2 column layout section[data-section-id="insert here"] { @media only screen and (max-width: 640px) { .sqs-row:nth-child(2) { display: flex; flex-direction: row; align-items: center; justify-content: center; } } } Link to comment
Beyondspace Posted October 3, 2021 Share Posted October 3, 2021 8 hours ago, Maksymrewko said: Site URL: https://www.desna.ca/register Trying to get the buttons to align side by side instead of stack on mobile. I was able to do this on another page but the same code can not be applied here due to the 2 column layout section[data-section-id="insert here"] { @media only screen and (max-width: 640px) { .sqs-row:nth-child(2) { display: flex; flex-direction: row; align-items: center; justify-content: center; } } } Is this what you want? Maksymrewko 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date format) 💫 Animated Buttons (Referral URL) 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) 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
tuanphan Posted October 3, 2021 Share Posted October 3, 2021 16 hours ago, Maksymrewko said: Site URL: https://www.desna.ca/register Trying to get the buttons to align side by side instead of stack on mobile. I was able to do this on another page but the same code can not be applied here due to the 2 column layout section[data-section-id="insert here"] { @media only screen and (max-width: 640px) { .sqs-row:nth-child(2) { display: flex; flex-direction: row; align-items: center; justify-content: center; } } } Add to Design > Custom CSS /* Mobile-Register-Buttons side by side */ @media screen and (max-width:767px) { div#page-section-60f635cc285ce460d19c3507 .span-3 { width: 50% !important; float: left !important; } } Beyondspace and Maksymrewko 2 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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