Mathias654321 Posted November 9, 2021 Share Posted November 9, 2021 Site URL: https://www.intro-verso.com/all-new-products Hello, I'd like to move my Add To Cart button (which I changed the text of to 'contact to purchase') to the center of the text block. At the moment it is alligned left, just like the text which looks messy espacially on mobile view. However I don't see an option to manually do this, is there a code to make this change? Any help is much appreciated! Link to comment
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 4 hours ago, Mathias654321 said: Site URL: https://www.intro-verso.com/all-new-products Hello, I'd like to move my Add To Cart button (which I changed the text of to 'contact to purchase') to the center of the text block. At the moment it is alligned left, just like the text which looks messy espacially on mobile view. However I don't see an option to manually do this, is there a code to make this change? Any help is much appreciated! You can try adding to Home > Design > Custom Css .sqs-add-to-cart-button-wrapper { text-align:center; } Let me know how it works on your site Press 👍 or mark this answer as solution to help another one too Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Beyondspace Posted November 9, 2021 Share Posted November 9, 2021 My testing result On desktop On Mobile tuanphan 1 Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
Mathias654321 Posted November 10, 2021 Author Share Posted November 10, 2021 17 hours ago, bangank36 said: My testing result On desktop On Mobile This works well, thank you very much! Is there a way to only implement this on mobile view, and keep the button alligned left for desktop view? That would be my ideal setup. Appreciate your time Link to comment
tuanphan Posted November 12, 2021 Share Posted November 12, 2021 On 11/10/2021 at 4:30 PM, Mathias654321 said: This works well, thank you very much! Is there a way to only implement this on mobile view, and keep the button alligned left for desktop view? That would be my ideal setup. Appreciate your time Try wrap the code in media query. First, remove above code & use this code @media screen and (max-width:640px) { .sqs-add-to-cart-button-wrapper { text-align:center; } } 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
Cyperpunk-girl-333 Posted April 4, 2022 Share Posted April 4, 2022 On 11/12/2021 at 3:47 PM, tuanphan said: I added this code to Enchant and Delight.com.au but it didn't work? Any idea why? @media screen and (max-width:640px) { .sqs-add-to-cart-button-wrapper { text-align:center; } } Link to comment
tuanphan Posted April 4, 2022 Share Posted April 4, 2022 4 hours ago, christina_marie_333 said: the site url doesn't work Delight.com.au 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