Re: "buy button" and the checkout button are blank

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
10133 2403 3037

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
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 4 (4)

Made4uo-Ribe
Shopify Partner
10133 2403 3037

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
If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
hala99
Excursionist
20 0 4

Perfect! 

it worked!

thank you so much 

sealahrain
Visitor
1 0 0

I was having the same issue and I attempted to solve with this solution but it did not solve the issue. Is there any other solution to correct this? 

Made4uo-Ribe
Shopify Partner
10133 2403 3037

Hi @sealahrain 

PLease, share your store URL. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.