Change button color on customer account page

Hello.

I want to change my button and text color on “customer account page”, does anyone know how to do this?

Hi @silenceclothing , kindly provide your store URL please and if it is password protected, please share the password as well. Thanks

@silenceclothing ,

Hello! Sure, I can assist you with that. Could you please share your store URL and the password if your storefront is password-protected? This will help me provide you with the best solution. :blush:

Hello @silenceclothing ,

Could you please provide the URL/ password to your store so that I can check it and provide you with the exact solution?

https://zqlzg9l2nrsn30c9-65389560005.shopifypreview.com

@silenceclothing ,

Follow these steps:

  1. Online Store

  2. Themes

  3. Edit Code

  4. Find theme.liquid file

  5. Add the following code in the bottom of the file above <b/body> tag.

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
    .animate--hover-3d-lift .card-wrapper .card--card, .animate--hover-3d-lift .card-wrapper .card--standard .card__inner, .animate--hover-3d-lift .button:not(.button--tertiary), .animate--hover-3d-lift .shopify-challenge__button, .animate--hover-3d-lift .customer button, .animate--hover-3d-lift .shopify-payment-button__button, .animate--hover-3d-lift .deferred-media .deferred-media__poster-button {
        transition: transform var(--duration-long) ease, box-shadow var(--duration-long) ease;
        transform-origin: center;
        color: red !important;
    }
}

Result:

If I was able to help you, please don’t forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!

Best Regard,
Rajat

Hello there,
Here are the steps to apply the necessary changes in your Shopify store:

  • In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  • Locate Asset > base.css and paste the following code at the bottom of the file:
form#customer_login a {
color: white;
}

form#customer_login button {
background: transparent;
color: white;
}

Hello @silenceclothing ,

Here are the steps to apply the necessary changes in your Shopify store:

  1. In your Shopify Admin, navigate to Online Store > Themes > Actions > Edit Code.
  2. Locate Asset > base.css and paste the following code at the bottom of the file:
.customer button {
    background-color: skyblue !important;
    color: red !important;
}

Let me know if you need further assistance!

Hi @silenceclothing

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.css / based.css file and paste the code in the bottom of the file.
form#customer_login button {
    color: black;
    background: #202A44;
}
form#customer_login button:hover {
    background: black !important;
    color: #ffff !important;
}

Result:

normal state:

hover:

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

it did not work

this did not work.

do you also know how to change color for this text?

Please try using this CSS

form#customer_login a {
    color: white;
}

form#customer_login button {
    background: white;
    color: black;
}
  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before

@silenceclothing

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before

websensepro_0-1736512446500.png

If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!

how do i make the border around the button white?

@silenceclothing

form#customer_login button::after {
    border-radius: 16px !important;
}

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

@silenceclothing

Bro, I have provided you with many solutions, please mark all of them.

not working

none of them worked…