Hey There,
I’m looking to change the purple color of the “Buy with Shop Pay” button.
Any thoughts on how to do this?
Hey There,
I’m looking to change the purple color of the “Buy with Shop Pay” button.
Any thoughts on how to do this?
Hello,
Please share your site url.
So that i can check and let you know the exact solution here.
Sure, the site is: https://animalcrackers.clothing/
Password: AnimalCrackers2020
Hello ksachse,
Add this css at the bottom of
Online Store->Theme->Edit code->Assets->theme.scss.liquid
button.shopify-payment-button__button.shopify-payment-button__button--unbranded._2ogcW-Q9I-rgsSkNbRiJzA._2EiMjnumZ6FVtlC7RViKtj._2-dUletcCZ2ZL1aaH0GXxT {
background-color: red;
}
Nevermind, that worked!
I ended up replacing the red color code for #A8A197
Thank you so much.
Update (again:) It looks like this solution did not actually work across all browsers.
Any thoughts on an additional solution?
We tried this code and it didn’t work and then when we took it out it completely changed the template causing us to revert back to our old one. Has that happened to anyone else?
Harold
It’s possible that something else was accidentally removed on top of the new code.
Either way, it’s always recommended to make a duplicate copy of your existing template before testing out new codes.
Hi,
Thank you for this. It works bu only for computers. When you view it on mobile, it is still purple
Do you know how to fix it please?
Thanks in advance.
Maybe a little off-topic @HomeDecorDonna and @kailasachse but I have been looking into this and it turns out 90% of our US customers pay through Shopify-Pay as opposed to some of the other gateways like PayPal or ApplePay.
Maybe these customers associate PURPLE with their payment gateway and changing this lowers your conversion rate? I am going to keep a close eye on our conversion rate and the percentage of payments that goes through Shopify vs. the others for sure…
That’s an important question! Color plays a big role in UX, and I bet changing this button has influenced checkouts.
Hi Oscprofessional,
Given that we run a luxury high-end store, it’s crucial for us to maintain a sophisticated aesthetic, so the current purple on the page is completely unacceptable. We’ve had customers describe it as “horrific” and “tacky.” After spending several hours searching for a solution, we finally managed to resolve the issue by adding the following CSS code to the “Product Page” CSS block:
css
div.shopify-cleanslate div[role="button"][data-testid="ShopifyPay-button"] {
background-color: #2E2E2E !important;
color: #FFFFFF !important;
border: none !important;
}
div.shopify-cleanslate div[role="button"][data-testid="ShopifyPay-button"]:hover {
background-color: #3B3B3B !important;
}
I hope this helps. Unfortunately, the 500-character limit restricts us from implementing more sophisticated hover effects.
It worked! Thank you!