Shopify themes, liquid, logos, and UX
How to stop 3d lift website animation from affecting my add to cart button
Thanks.
Solved! Go to the solution
This is an accepted solution.
Hey @ZephyrShop,
I have good news and bad news.
Good news: The animation can be disabled and the animation that runs every X seconds is still running.
Bad news: The animation when hovering the button will completely be gone. You cannot choose what animation to stop on hover, you also cannot choose what animation to have on hover. That's why when you hover, either all the animations run, or none of it run.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.animate--hover-3d-lift .button.product-form__submit {
transition: none !important;
}
.animate--hover-3d-lift .button.product-form__submit:hover {
transform: rotate(0) !important;
box-shadow: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
Hey @ZephyrShop,
What happens when you click None?
Or else I'm assuming you want it everywhere, but not on the add to cart button
Can you share the link to the store?
Yes i want the effect everywhere just except the add to cart button because i have one animation already and it looks wierd with another one
This is an accepted solution.
Hey @ZephyrShop,
I have good news and bad news.
Good news: The animation can be disabled and the animation that runs every X seconds is still running.
Bad news: The animation when hovering the button will completely be gone. You cannot choose what animation to stop on hover, you also cannot choose what animation to have on hover. That's why when you hover, either all the animations run, or none of it run.
Go to your theme's "Edit Code" Option, then in the search bar type "theme.liquid"
Below the tag "<head>" tag paste the following. Screenshot attached for reference.
<style>
.animate--hover-3d-lift .button.product-form__submit {
transition: none !important;
}
.animate--hover-3d-lift .button.product-form__submit:hover {
transform: rotate(0) !important;
box-shadow: none !important;
}
</style>
Screenshot is for reference only, the correct code to paste is the one shown above.
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024