elisavanrullen Posted January 16, 2023 Share Posted January 16, 2023 Hello, my buttons are set like this on the desktop: but I would like to be able to center them horizontally on mobile! This is what I currently have in mobile version: What css code can I add to fix this? Can anyone help? url : https://preview-elisavanrullen.squarespace.com/ password : siteenconstruction Thank you! Link to comment
Solution Beyondspace Posted January 16, 2023 Solution Share Posted January 16, 2023 22 minutes ago, elisavanrullen said: Hello, my buttons are set like this on the desktop: but I would like to be able to center them horizontally on mobile! This is what I currently have in mobile version: What css code can I add to fix this? Can anyone help? url : https://preview-elisavanrullen.squarespace.com/ password : siteenconstruction Thank you! You can try adding to home > design > custom css @media only screen and (max-width: 767px) { section[data-section-id="63bee490b99e440ba7b5d3ef"] .sqs-block-button-container.sqs-block-button-container--left { justify-content: center; } } Support me by pressing 👍 or marking as solution if this useful for you elisavanrullen 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
Beyondspace Posted January 16, 2023 Share Posted January 16, 2023 My testing elisavanrullen 1 BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 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
elisavanrullen Posted January 16, 2023 Author Share Posted January 16, 2023 @Beyondspace thanks a lot, it works perfectly! Beyondspace 1 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