Shopify themes, liquid, logos, and UX
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!
Solved! Go to the solution
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:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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;
}
Thanks!
Hello @poe1
Can you share store URL?
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;
}
Thanks!
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.
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:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
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 -:
I hope the code helps you.
Please share if you have any issues.
Thank you.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024