Why are there empty buttons on my page?

Solved

Why are there empty buttons on my page?

poe1
Excursionist
29 0 5

When I add a product to the cart an empty button appears and the number on the cart icon is not visible. 

I haven't changed the code. It's like this from the beginning.

Thankful for any help!

Bildschirmfoto 2024-05-08 um 13.30.53.png

Accepted Solutions (2)

Made4uo-Ribe
Shopify Partner
7913 1911 2343

This is an accepted solution.

Hi @poe1 

Its not empty or black its look like you change the text color into white. Check 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-challenge__button, .customer button {
    color: black !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1715169625706.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

websensepro
Shopify Partner
1136 117 140

This is an accepted solution.

Hello @poe1,

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your base.css file

3. Paste the code in base.css file

 

button.button.button--primary.button--full-width{
   color: black !important;
}

 

websensepro_0-1715170038930.png

 

 

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial

View solution in original post

Replies 6 (6)

niraj_patel
Shopify Partner
2378 514 511

Hello @poe1 
Can you share store URL?

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com
poe1
Excursionist
29 0 5
cutegemz.com pasw: neatyou
You can try it with the cherry slippers.
websensepro
Shopify Partner
1136 117 140

This is an accepted solution.

Hello @poe1,

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your base.css file

3. Paste the code in base.css file

 

button.button.button--primary.button--full-width{
   color: black !important;
}

 

websensepro_0-1715170038930.png

 

 

Thanks!

Need a Shopify developer?
Hire us at WebSensePro
For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
Subscribe to our youtube channel or buy us a Cofee here

Free Shopify Beginner Tutorial
niraj_patel
Shopify Partner
2378 514 511

@poe1 

You can add code by following these steps

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file

3. Paste the below code before </body> on theme.liquid
<style>
  .cart-notification .button--primary {
     color: #000 !important;
   }
   .cart-count-bubble {
        background-color:#000 !important;
        color: #fff !important;
   }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

Made4uo-Ribe
Shopify Partner
7913 1911 2343

This is an accepted solution.

Hi @poe1 

Its not empty or black its look like you change the text color into white. Check 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-challenge__button, .customer button {
    color: black !important;
}

 

And Save. 

Result:

Made4uoRibe_0-1715169625706.png

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

Anshul_arora
Navigator
453 128 96

Hello @poe1 ,

I have reviewed your store and see the empty button is for the 'Check out'. The button text is not visible in either Ajax Cart & Cart page https://prnt.sc/bAoe_PqDdlUr , https://prnt.sc/CgOIS9iV6DUJ.

You can fix this issue on both Ajax Cart & Cart Page using CSS code.

Please add the below-mentioned code at the bottom of the theme.liquid file before <body> tag and save.

<style>

button#checkout {
color: black !important;
}

button.button.button--primary.button--full-width {
color: black !important;
}

</style>

 

Output -:

Anshul_arora_0-1715171106155.png

Anshul_arora_1-1715171114938.png

 


I hope the code helps you.

Please share if you have any issues.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here