How to make "Add to cart" button change colours on hover?

Solved

How to make "Add to cart" button change colours on hover?

BBHJ
Excursionist
13 1 5

I'm using the Taste theme and I'd like to know how to make my add to cart button change colours on hover. 

The website is https://busybeehoneyja.com/

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8230 1975 2419

This is an accepted solution.

Hi @BBHJ 

Is this for all add to cart button? Including the product page add to cart button?

Check this code. (homepage and product page.)

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.quick-add__submit:hover, .product-form__submit:hover {
    background: red;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701030707815.png
  • Note: You can change the color you like. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
8230 1975 2419

This is an accepted solution.

Hi @BBHJ 

Is this for all add to cart button? Including the product page add to cart button?

Check this code. (homepage and product page.)

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

.quick-add__submit:hover, .product-form__submit:hover {
    background: red;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1701030707815.png
  • Note: You can change the color you like. 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
BBHJ
Excursionist
13 1 5

It worked. Thank you so much!