Change color of each button dawn theme

Solved

Change color of each button dawn theme

Phreshcareco
Excursionist
40 0 7

Hey guys,

 

Looking to add a hover effect on each button so when you hover it changes color. But i need each button to be different colors.

 

Url- www.phreshcareco.com.au

 

Any help would be appreciated. 

 

Screen Shot 2024-08-20 at 3.45.30 pm.png

Accepted Solution (1)

Sweans
Shopify Partner
401 79 122

This is an accepted solution.

Hi,

 

You change the color of hover by adding this css

 

 

button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
    background-color: #fb6445 !important;
}
button#quick-add-template--22881209352507__product-grid9604785439035-submit:hover {
    background-color: #ff2800 !important;
}
button#quick-add-template--22881209352507__product-grid9641567158587-submit:hover{
    background-color:  #f2f427 !important;
}
button#quick-add-template--22881209352507__product-grid9614441054523-submit:hover{
    background-color:  #8fc128 !important;
}

button#quick-add-template--22881209352507__product-grid9605425594683-submit:hover{
    background-color:  #08c7e4!important;
}

 

 

Paste the above code in your base.css

 

Go to Online store > themes > Click on three dots of current active theme> edit code > search base.css in leftside bar > paste the above code.

 

I have also add the color for other two products  you can adjust the color according to your needs.

 

If you need further assistance, feel free to reach out!
I hope this helps! If it does, please like it and mark it as a solution!

 

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

View solution in original post

Replies 4 (4)

goldi1
Excursionist
131 10 23

Hello @Phreshcareco 

i can do this .I can do this just tell me what color you want the hover on each button

Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me -rahul@prowebcoder.com - Skype: live:dhiman.639
Whatsapp Me : here
Phreshcareco
Excursionist
40 0 7

First one is #fb6445
Second one is #ff2800
Third one is #f2f427

Cheers thanks man

 

Sweans
Shopify Partner
401 79 122

This is an accepted solution.

Hi,

 

You change the color of hover by adding this css

 

 

button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
    background-color: #fb6445 !important;
}
button#quick-add-template--22881209352507__product-grid9604785439035-submit:hover {
    background-color: #ff2800 !important;
}
button#quick-add-template--22881209352507__product-grid9641567158587-submit:hover{
    background-color:  #f2f427 !important;
}
button#quick-add-template--22881209352507__product-grid9614441054523-submit:hover{
    background-color:  #8fc128 !important;
}

button#quick-add-template--22881209352507__product-grid9605425594683-submit:hover{
    background-color:  #08c7e4!important;
}

 

 

Paste the above code in your base.css

 

Go to Online store > themes > Click on three dots of current active theme> edit code > search base.css in leftside bar > paste the above code.

 

I have also add the color for other two products  you can adjust the color according to your needs.

 

If you need further assistance, feel free to reach out!
I hope this helps! If it does, please like it and mark it as a solution!

 

Regards,

Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Phreshcareco
Excursionist
40 0 7

Hey @Sweans 

Worked a treat thankyou so much, its just one line thats not working not sure why? 

button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
    background-color: #fb6445 !important;
}

 
The rest are all good :). Think you can help me out and check please?