How can I change the color of my password and notify me buttons to black?

Topic summary

A user wants to change the color of password and “notify me” buttons to black on their Shopify store.

Initial Solution Attempt:

  • Another user suggested adding CSS code to the base.css file in the theme’s Assets folder
  • The CSS targets .shopify-section-password-content elements to change background and text colors to black using #fff and !important declarations

Implementation Issues:

  • The original poster reports their theme doesn’t have a base.css file in Assets
  • An alternative suggestion was made to add the code to theme.liquid file instead
  • The user confirmed this alternative approach is “not working”

Current Status:
The issue remains unresolved. The proposed CSS solutions have not successfully changed the button colors, possibly due to theme structure differences or incorrect CSS targeting.

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

i couldn’t change the password and the notifuy me buttons colors i want them in black

website url https://d88331-2.myshopify.com/password

pass ahpreu

Hello @yassin7

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.

#shopify-section-password-content span {
    color: #fff !important;
}
#shopify-section-password-content .input-group button {
    background: #fff !important;
}

there’s no base.css in my theme code assets

Hello @yassin7

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

Go to the Online Store->Theme->Edit code->theme.liquid>Add this code at the bottom.


not working