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!
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!
Hello @poe1
Can you share store URL?
cutegemz.com pasw: neatyou
You can try it with the cherry slippers.
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:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Hello @poe1 ,
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your base.css file
Paste the code in base.css file
button.button.button--primary.button--full-width{
color: black !important;
}
Thanks!
You can add code by following these steps
Go to Online Store → Theme → Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
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 tag and save.
Output -:
I hope the code helps you.
Please share if you have any issues.
Thank you.