Change 'add to cart' button colours in product grid and product page

Change 'add to cart' button colours in product grid and product page

elysia1
Tourist
3 0 1

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:

Screen Shot 2023-03-12 at 4.08.10 pm.png

 

This is the button on the product page (it has a pink border I can't seem to get rid of):

Screen Shot 2023-03-12 at 4.08.18 pm.png

 

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!

 

Replies 5 (5)

BSS-Commerce
Shopify Partner
3477 463 550

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 .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
elysia1
Tourist
3 0 1

Hi, thanks and password is 'ukeidu'

elysia1
Tourist
3 0 1

Hi just following up if you're able to help me with this? thanks

BSS-Commerce
Shopify Partner
3477 463 550

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 .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
atomicmud
Visitor
1 0 0

This worked for me. Thank you.