Shopify themes, liquid, logos, and UX
Basically I want to make the add to cart button on my products a full green instead of just the outline. I'm using the free publisher theme.
Solved! Go to the solution
This is an accepted solution.
<style>
.button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded:after {
}
button.product-form__submit.button.button--full-width.button--secondary {
background: #315b02;
color: #fff;
}
button.product-form__submit.button.button--full-width.button--secondary::after {
box-shadow: unset;
}
</style>
This is an accepted solution.
<style>
.button:after, .shopify-challenge__button:after, .customer button:after, .shopify-payment-button__button--unbranded:after {
}
button.product-form__submit.button.button--full-width.button--secondary {
background: #315b02;
color: #fff;
}
button.product-form__submit.button.button--full-width.button--secondary::after {
box-shadow: unset;
}
</style>
Add this to the sections "Custom CSS" setting:
button.product-form__submit {
color: rgb(var(--color-base-background-1));
background: rgb(var(--color-base-text));
}
Do not edit your theme code unless it's absolutely necessary (not in this case). This will save your headaches with theme update.
Hey 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, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024