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!
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024