Dawn theme - stylize ATC button :before - image or css stylize

Just looking to add an image or CSS styles contained in my default button size (not change size of button). How can I do so?

Hi @xnyjyh

The easiest way is to add your image to buy-buttons.liquid file

I found a different way that works, but I cant seem to find how to find the max width so my button design fits perfectly and have it 100% responsive .

Could you send me your product page to check?

https://www.howahoriginals.com/products/unisex-t-shirt?variant=40834320007270

You did not add image to your ATC button

I had a test one, I put the test image back on for you. It doesn’t fit right to the end. I guess stretch…

You can try to update your code to this and check

#MainContent .product-form__submit {
    background-image: url(https://cdn.shopify.com/s/files/1/0564/3046/1030/files/test_button_atc.png?v=1710383992) !important;
    background-size: cover;
    background-repeat: no-repeat !important;
    display: flex;
    justify-content: center;
    background-position: center center;
}

Yes! Thank you, it worked! :slightly_smiling_face: