How can I change the Color of the Add to cart button?

Topic summary

A user needed help changing the color of their Shopify store’s “Add to cart” button.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add the following CSS code at the bottom:
.product-form__submit {
  background: #fff7e7 !important;
}
  • Save the changes
  • Adjust the color code (#fff7e7) as desired

The solution was confirmed working by the original poster. The thread is resolved.

Summarized with AI on November 9. AI used: claude-sonnet-4-5-20250929.

Hello,

I want to change the color of the “Add to cart” button. How can I do this?

Here the link: https://et1xgdlyz2fwrbih-71988969740.shopifypreview.com

1 Like

Hi @Esra47

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

.product-form__submit {
    background: #fff7e7 !important;
}

And Save.

Result:

Note: you can change the color you like.,

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

1 Like

Thank you it worked!

Welcome! :blush: