How can I change the color of my theme?

Topic summary

A user needed help changing button and text colors to black in their Shopify theme but couldn’t locate the customization option.

Solution provided:

  • Navigate to: Online Store → Theme → Edit code → Assets → base.css
  • Add CSS code at the bottom of the file targeting button elements (.button--secondary, .button--tertiary) and product form submit spans
  • The code sets text color to black (#000) with !important flag to override existing styles

The original poster accepted this solution, indicating it successfully resolved their color customization issue.

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

Hello @aakarsh

You can try this code: it will be helpful to you

Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.

.product-form__submit span {
    color: #000 !important;
}
.button--secondary, .button--tertiary {
    --color-button-text: unset !important;
}