I am in the process of creating a Shopify store and would like to go a little beyond what the themes are offering. Specifically I am triyng to add wow.js and animate.css.
As you can see below, I have added the CDN for Animate.css in the head
tag of template.liquid
.
Next I added the CND for Wow.js and activated is as such:
It seems to be loading the scripts just fine, even adds the animated
class as one scrolls to the element, but for some reason none of the aniamtion is taking place.
Any input into alleviating this issue is much appreciated!
2
Answers
Well this was utterly annoying. Anyhow the way to refernce/activate Animation.css animations now seems to be with class
animate__animated
and NOT justanimated
like it used to be.This means that when one is initialising wow.js one must change that
animationClass
toanimate__animated
as such:And the Animation.css animations must be as such:
It might be that your theme’s CSS is overriding animate.min.css since it’s being loaded before it. Try loading animate.min.css last, just before the closing
</head>
tag