Hi I need help changing the color of the add to cart button in dawn theme.

scarter99
Visitor
1 0 0

I added a line of code that changed the "add to cart" button the color I wanted but it only worked on desktop not mobile. The add to cart button on mobile is still black and I would like to change it but cannot figure out how?  The store URL is honeybeehygiene.store. Thank you in advance for any help!!!

 

Reply 1 (1)
Ahsan_ANC
Shopify Partner
1353 242 292

Hi, @scarter99 

You can try this code


1. Go to Online Store-> Theme->Edit code
2. Asset-> base.css ->paste the below code at the bottom of the file.

 

.product-form__submit {
    background: ff00ff;
}

.product-form__submit::after {
    box-shadow: unset;
}
Contact for any custom design? Skype : ahsananc
>Was your question answered? Mark it as an Accepted Solution!
Feel Free to Contact Me at my Email: anc2277@gmail.com


To enhance and customize Shopify search and filter, I use Boost Product Filter & Search