Shopify themes, liquid, logos, and UX
I would like for the buttons across the entire site to fill at once when hovered over (like they do on this site: https://thearrivals.com/) and not with the gradual left to right gradient as it currently is - can anyone help to target this with code? Not having luck, thank you in advance!
Go to your online store -> customize -> settings -> custom css
and paste this code in the custom css section
Thank you, that did not work to achieve what I need though. The buttons still fill from left to right when hovered on though and I want to remove that. This is an example website of button fill we are trying to emulate: https://thearrivals.com/
Hi @blakelyhi
Try this one.
.btn.btn--primary.btn--overlay:after, .shopify-challenge__button.btn--overlay:after {
background-color: white !important;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks but that did not achieve what I need. I don't mind the fill color so much as the animation of the fill (the clip in from left to right) - so now unless every button is the color specified in the code, I still see that white background clip in which is what I'm trying to eliminate.
Hi @blakelyhi
This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Theme.css
.btn.btn--primary.btn--overlay:after, .shopify-challenge__button.btn--overlay:after {
background-color: #fff !important;
}
Hope you find my answer helpful!
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Thanks but that did not achieve what I need. I don't mind the fill color so much as the animation of the fill (the clip in from left to right) - so now unless every button is the color specified in the code, I still see that white background clip in which is what I'm trying to eliminate.
Hi @blakelyhi Please help me replace the code above with this one:
.btn.btn--primary.btn--overlay:hover ::before,.btn.btn--primary.btn--overlay:hover ::after, .shopify-challenge__button.btn--overlay:hover ::before,.shopify-challenge__button.btn--overlay:hover ::after{
background-color: #fff !important;
}
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024