Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
The add to cart button on my product website is "invisible" but still working. I can hover my mouse over it and click it but I can't actually see it. I don't think it's a theme colour setting because I tried to change all the themes but It did not affect it at all. I believe it's a problem in the code but I have not edited anything in the backend of my store except for adding meta data pixel codes at the beginning of theme.liquid, however I doubt that has to do with my add to cart button being invisible. Does anyone have any suggestions? Here's my website:
Solved! Go to the solution
This is an accepted solution.
Hey @zzaraako,
Can't tell what caused it, but you can do this to fix it
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-form__buttons button.product-form__submit.button.button--full-width.button--secondary {
background-color: black !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
This is an accepted solution.
Hey @zzaraako,
Can't tell what caused it, but you can do this to fix it
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.product-form__buttons button.product-form__submit.button.button--full-width.button--secondary {
background-color: black !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
It worked! TYSM!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024