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!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024