elisavanrullen Posted January 16 Share Posted January 16 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 Solution Share Posted January 16 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 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
Beyondspace Posted January 16 Share Posted January 16 My testing elisavanrullen 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
elisavanrullen Posted January 16 Author Share Posted January 16 @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