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!
As 2024 wraps up, the dropshipping landscape is already shifting towards 2025's trends....
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