Looking to increase the height of the add to cart button.
If someone has the code to add that would be awesome!
Website: https://pamperpetsco.com/products/the-couchie%E2%84%A2
Goal: Increase the “Add to cart” button height in the Shopify Sense theme.
Key terms:
Outcome: Resolved. Height and text size of the “Add to cart” button can be controlled via CSS in base.css using the .product-form__submit.button selector. No remaining open questions.
Looking to increase the height of the add to cart button.
If someone has the code to add that would be awesome!
Website: https://pamperpetsco.com/products/the-couchie%E2%84%A2
This is PageFly - Free Landing Page Builder. I would love to provide my recommendations for your store.
Regarding your concern to increase the height of the add to cart button. You can follow the step below
Step1: Online store > Themes > Edit code > search for css file and select the theme css file
Step2: Paste the code to the end of the file
.product-form__buttons button{
height: 40px;
}
Hope this helps. And you can change the value of 40px to match with your requirements.
Best regards,
PageFly
What file specifically? I tried “theme.liquid” and “base.css” and both of these didn’t appear to work ![]()
hi @Nato0201 sorry for the late response, can you try with this in the end of base.css
.product-form__submit.button{
height: 60px;
}
i increase more the px for you to see the changes
Awesome thats it! I pushed it up to 80px.
Thank you so much!
Would you know how to increase the text size within this add to cart button?
@Nato0201 yes, please update the code to :
.product-form__submit.button{
height: 60px;
font-size: 30px;
}
with the same file
and also, please change the 30px into the value you want