I’m basically trying to resize the add to cart button of my store so it’s bigger- using this bit of code, inserting it above in the theme.liquid in the backend
This worked well, and the button was resized for the first product’s button. However, for the second product’s product page’s add to cart button, the button won’t change size no matter what I do. It always stays the same size while the first product’s button will change if I increase or decrease the max width value
The first product was the first product I ever created on shopify, and the second product’s product page was created using a template based off of the first product’s page.
could you please help me figure out why the code doesn’t resize the second product’s add to cart button?
Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.
Screenshot is for reference only, the correct code to paste is the one shown above.