cmography Posted March 10, 2020 Share Posted March 10, 2020 Site URL: https://agicreative.com I have a button on my home page that doesn't automatically center on mobile, There are other buttons on the page that center properly, but not this on for some reason. See attachment. Any CSS I can add to make this button center? Here is the block id for that button if it helps: #block-yui_3_17_2_1_1558096319367_9901 Link to comment
Solution cmography Posted March 10, 2020 Author Solution Share Posted March 10, 2020 This solved it! @media(max-width: 1220px) { .homepage .sqs-block-button .sqs-block-button-container--left { text-align: center; } } jonaverill, calibratedconcepts, Niculeahwr and 1 other 3 1 Link to comment
sophiaojha Posted April 20, 2022 Share Posted April 20, 2022 Thank you for posting your solution. This is exactly what I was searching for today!!! Sophia OjhaSimplicity | Kindness | Inspired by Nature Based in the Blue Ridge Mountains (North Carolina, USA) Squarespace Web Designer and Biz Coach to Web Designers 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