How can I change the button text color on my website?

Topic summary

A user is trying to change the text color of a specific button on their Shopify store’s account/addresses page but cannot locate the correct code.

Attempted Solutions:

  • GemPages suggested adding CSS code above the </body> tag in theme.liquid, targeting pages containing ‘addresses’ in the URL
  • infoatcodelab7 recommended adding CSS to the customer.css file targeting #create_customer_button
  • PageFly-Victor proposed adding CSS with !important flag to base.css file targeting .customer button

The PageFly solution partially worked but changed text colors on all buttons, not just the intended one. The user needs a more targeted solution to affect only the specific button.

Current Status: Unresolved. The user still needs help isolating the CSS to target only one button without affecting others. PageFly-Victor indicated this is outside their scope and suggested contacting Shopify support or another expert for more specific customization.

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

Hi, I want to change color of text in this button but can’t find the code for the button.

This link can help.

https://luxur-looks.myshopify.com/account/addresses

pass:luxurlooks

Hi @noapaxx ,

Glad to support you today.

You can check out my suggestion below to get your concern resolved.

  1. Go to Edit code on Online Store:

  1. add my code above the tag on Theme.liquid:
{% if page.url contains 'addresses' %}

{% endif %}

Hope you find my answer helpful!

Kind & Best regards,
GemPages Support Team.

@noapaxx

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file customer.css

Step 3: Paste the below code at bottom of the file → Save

#create_customer button {
  color: #fff;
}

@infoatcodelab7 didn’t work :confused:

@GemPages didn’t work :confused:

Hi @noapaxx

This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

Online Store ->Theme ->Edit code

Assets ->Base.css

.customer button {
color: #fff !important;
}

Hope you find my answer helpful!

Best regards,

Victor | PageFly

@PageFly-Victor hi, this helped for the button, but it changed text colors of another buttons. Is there a way to change the color for the one button only? Thanks.

@noapaxx , I’m sorry but this is out of my scope. You may try contacting Shopify support or finding another expert regarding this issue.