Shopify themes, liquid, logos, and UX
Hi guys I added a custom liquid under my add to cart button on the Shopify product page of the Dawn Theme. I coded a button but I don't know how to make the CSS properties of my new one the same as the add-to-cart button.
I tried giving it the same class but it didn't work. Only the width is wrong.
Solved! Go to the solution
This is an accepted solution.
Because the add to cart button is wrapped in a product-form__buttons element and it has max-width property now(screenshot1).
To fixe your issue, please add max-width:44rem into your new button(screenshot2)
screenshot1:
screenshot2:
This is an accepted solution.
Because the add to cart button is wrapped in a product-form__buttons element and it has max-width property now(screenshot1).
To fixe your issue, please add max-width:44rem into your new button(screenshot2)
screenshot1:
screenshot2:
Thanks a lot it worked!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025