Shopify themes, liquid, logos, and UX
Hey guys,
Website is
Button:hover doesn't seem to work anymore - i accidentally got automatic formatting on, not sure why but as soon as i clicked it over is started getting issues.
This is what i use it for code below.
/* button hover effect */
.button:hover {
text-transform: uppercase;
box-shadow: 0 0 10px #181e40 !important;
border: 2px solid #181e40 !important;
}
*/button hover color on product page*/
.button#quick-add-template--22881209352507__product-grid9604785439035-submit:hover {
background-color: #ff2800 !important;
color: #181e40;
}
.button#quick-add-template--22881209352507__product-grid9641567158587-submit:hover {
background-color: #f2f427 !important;
color: #181e40;
}
.button#quick-add-template--22881209352507__product-grid9614441054523-submit:hover {
background-color: #8fc128 !important;
color: #181e40;
}
.button#quick-add-template--22881209352507__product-grid9605425594683-submit:hover {
background-color: #08c7e4 !important;
color: #181e40;
}
.button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
background-color: #fb6445 !important;
color: #181e40;
}
I am still really new to coding. Self taught from youtube/chat GPT.
Was wondering if someone could help me out see why it is not working?
You can try to updat your code to this and check again
/* button hover effect */
button:hover {
text-transform: uppercase;
box-shadow: 0 0 10px #181e40 !important;
border: 2px solid #181e40 !important;
}
*/button hover color on product page*/
button#quick-add-template--22881209352507__product-grid9604785439035-submit:hover {
background-color: #ff2800 !important;
color: #181e40;
}
button#quick-add-template--22881209352507__product-grid9641567158587-submit:hover {
background-color: #f2f427 !important;
color: #181e40;
}
button#quick-add-template--22881209352507__product-grid9614441054523-submit:hover {
background-color: #8fc128 !important;
color: #181e40;
}
button#quick-add-template--22881209352507__product-grid9605425594683-submit:hover {
background-color: #08c7e4 !important;
color: #181e40;
}
button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
background-color: #fb6445 !important;
color: #181e40;
}
- Found this helpful? Hit "Like" and "Accept as Solution"! - Feeling generous. ☕ Buy me coffee!
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
Built for Shopify
Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Thanks for reply but unfortunately still not working...
For black dot Appearing, You can debug this yourself using the browser DevTools or by downloading and editing the theme in VS Code. Use VS Code’s search functionality to locate the issue.
If you have a backup of the theme and the current theme, uploading it to GitHub can help compare changes and identify what went wrong.
Hey @Nilankar,
Ive searched the dev tool i cant find anything. I am not too concerned about the dot, my main concern is why the button.hover css just suddenly stopped working.
Got any ideas?
Hi @Phreshcareco You can try this code
/* button hover effect */
text-transform: uppercase;
box-shadow: 0 0 10px #181e40 !important;
border: 2px solid #181e40 !important;
background-color: #ff2800 !important;
color: #181e40;
}
Result
Best,
Liz
Thanks for reply but need all the buttons to have different colours and this wont fix why there is no hover over button.
Hey @Phreshcareco,
I see the issue! Try this:
/* General button hover effect */
.button--primary:hover,
button.button--primary:hover,
.quick-add__submit:hover {
text-transform: uppercase;
box-shadow: 0 0 10px #181e40 !important;
border: 2px solid #181e40 !important;
}
/* Button hover color on product page - Fruit Fusion (red) */
button[id*="9604785439035-submit"]:hover {
background-color: #ff2800 !important;
color: #181e40 !important;
}
/* Button hover color on product page - Good Stuff (yellow) */
button[id*="9641567158587-submit"]:hover {
background-color: #f2f427 !important;
color: #181e40 !important;
}
/* Button hover color on product page - Secret Weapon (green) */
button[id*="9614441054523-submit"]:hover {
background-color: #8fc128 !important;
color: #181e40 !important;
}
/* Button hover color on product page - Steel Eye (blue) */
button[id*="9605425594683-submit"]:hover {
background-color: #08c7e4 !important;
color: #181e40 !important;
}
/* Button hover color on product page - Alpha Phresh (orange) */
button[id*="9641599566139-submit"]:hover {
background-color: #fb6445 !important;
color: #181e40 !important;
}
The key changes I've made:
Feel free to reach out in case you've any more questions for me 🙂
Cheers!
Shubham | Untechnickle
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
@TheUntechnickle Thank-you for your code - but unfortunately that still did not work. I was so hopeful about it, was written out so nicely. I do appreciate it. But do you think theres anything else that could be compromising it?
The very first code that you've written, I can see the error. The comment is formatted wrong, instead of this
*/button hover color on product page*/
Use this:
/* button hover color on product page */
That might be causing all the conflict! Let me know if this works, else you can share your collaborator code we'd love to dig deep and fix it for free 🙂
Cheers!
Shubham | Untechnickle
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
That's the updated code:
/* button hover effect */
.button:hover {
text-transform: uppercase;
box-shadow: 0 0 10px #181e40 !important;
border: 2px solid #181e40 !important;
}
/* button hover color on product page */
.button#quick-add-template--22881209352507__product-grid9604785439035-submit:hover {
background-color: #ff2800 !important;
color: #181e40 !important;
}
.button#quick-add-template--22881209352507__product-grid9641567158587-submit:hover {
background-color: #f2f427 !important;
color: #181e40 !important;
}
.button#quick-add-template--22881209352507__product-grid9614441054523-submit:hover {
background-color: #8fc128 !important;
color: #181e40 !important;
}
.button#quick-add-template--22881209352507__product-grid9605425594683-submit:hover {
background-color: #08c7e4 !important;
color: #181e40 !important;
}
.button#quick-add-template--22881209352507__product-grid9641599566139-submit:hover {
background-color: #fb6445 !important;
color: #181e40 !important;
}
Helping for free: hello@untechnickle.com
Don't forget to say thanks, it'll make my day - just send me an email!
Get Revize for Free | Let your shoppers edit orders post-purchase | Get Zero Support Tickets | #1 Order Editing + Upsell App
Please help me, Sir. Thank you.
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