I’ve managed to readd the add to cart button to my website, however, it’s currently positioned to the left of the site, and it quite short. Is there a way to widen it, drop it down a few pixels and centralise it on the screen? Please see the screenshot for reference on it’s current position and where it needs to be.
From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
Find the theme that you want to edit and click on “Actions” and then “Edit code”.
In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
#shopify-section-product-template-cart > div > div.product__content.page-width > div > div > div.product__content-header > form {
text-align: center;
margin-top: 15px;
}
input.btn {
padding-left: 50px;
padding-right: 50px;
}