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.
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024