Shopify themes, liquid, logos, and UX
Hello,
I would like to customize the size of my add to cart button to match my widgets next to it, so everything looks clean.
( ^ Here is how it looks now, it is slightly shorter than the one above and below. I want it to match the size, no matter the screen size that it is being viewed from)
Store: artisimo.es
pass: pongia
Solved! Go to the solution
This is an accepted solution.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
<style>
.product-form__buttons {
max-width: unset!important
}
</style>
Result:
If it helps you, please like and mark it as the solution.
Best Regards😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
Step 1: Go to Shopify Admin -> Online Store ->Theme -> Edit code
Step 2: Search file theme.liquid
Step 3: Insert this code above </head>
<style>
.product-form__buttons {
max-width: unset!important
}
</style>
Result:
If it helps you, please like and mark it as the solution.
Best Regards😊
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
Thanks!
Hi there 🙂
You have this CSS rule that is setting a max-with for product form buttons:
.product-form__buttons {
max-width: 44rem;
}
Just remove that line, so the button grows the full available width:
If you don't have access to that piece of code and can't remove it, then you'll need to add this custom CSS to your theme to overwrite it:
.product-form__buttons {
max-width: 100% !important;
}
Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024In today’s interview, we sat down with @BSS-Commerce to discuss practical strategies f...
By JasonH Nov 13, 2024