Shopify themes, liquid, logos, and UX
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.
Any help would be appreciated.
Solved! Go to the solution
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
First one is #fb6445
Second one is #ff2800
Third one is #f2f427
Cheers thanks man
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
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?
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025