Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Is anyone please able to help me change the background, border and text colours of my 'add to cart' button in both my product grids (collection pages) and actual product pages? I'm using the Dawn theme.
This is currently the button on product grids:
This is the button on the product page (it has a pink border I can't seem to get rid of):
I want both buttons to just have a black background, black border and white text. I also want the hover behaviour to be the same as the 'shop now' button I have on my landing page.
Here is my URL: https://shopnailme-869.myshopify.com/
It's password protected but I'm happy to email it to anyone who can help. Thanks!
Hi @elysia1
We're happy to support you. Can you kindly share your store password with us?
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
Hi, thanks and password is 'ukeidu'
Hi just following up if you're able to help me with this? thanks
Hi @elysia1
Please go to Online store > Themes > Edit code, and add the following code at the end of the base.css file:
.product-form__buttons button[type="submit"]:after {
box-shadow: none !important;
}
.product-form__buttons button[type="submit"]:hover:after {
box-shadow: 0 0 3px black !important;
}
.quick-add__submit.button.button--full-width.button--secondary {
background-color: black;
color: white;
}
.quick-add__submit.button.button--full-width.button--secondary:after {
box-shadow: none !important;
}
.quick-add__submit.button.button--full-width.button--secondary:hover:after {
box-shadow: 0 0 3px black !important;
}
We hope that it will work for you.
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
This worked for me. Thank you.