Solved

"buy button" and the checkout button are blank

hala99
Excursionist
20 0 4

Hello, I've set up PayPal as my payment option, but I've noticed that both the "buy button" and the checkout button are blank. Can you help me understand what might be causing this issue?

hg.pngScreenshot 2023-10-01 115448.png

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
6013 1445 1783

This is an accepted solution.

Hi @hala99 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

button.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw {
    color: white;
}
button#checkout {
    color: white;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696154881570.png
  • Made4uoRibe_1-1696154891010.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
6013 1445 1783

This is an accepted solution.

Hi @hala99 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

button.shopify-payment-button__button.shopify-payment-button__button--unbranded.BUz42FHpSPncCPJ4Pr_f.jjzYeefyWpPZLH9pIgyw.RWJ0IfBjxIhflh4AIrUw {
    color: white;
}
button#checkout {
    color: white;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1696154881570.png
  • Made4uoRibe_1-1696154891010.png
Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
For FREE, premium codes, and trusted, knowledgeable Shopify developers, visit us at

Made4uo.com


hala99
Excursionist
20 0 4

Perfect! 

it worked!

thank you so much