Animate on scroll library - not being called due html no-js class being added by template
4 weeks ago - last edited 4 weeks ago
Hello I wonder if any one can help me
I am trying to use the AOS animate library https://michalsnik.github.io/aos/
Whereby you place the the css and js files just at the end of the end body tag and the
applied a data-src attribute on to the element you want to apply the css animation on.
I created a full html page before building the hubspot template so in principle i have the file working in there
But applying the aos data src to an elemt in a drag and drop template has no effect, there might be a js conflict but I am not getting any console errors and I can see the css stsles being applied to the elements?
The element on inspect side seems to be firing ok i can its applies an aos_init class initial and when it instersects add aos_animate class.
Not sure with all the additional markup div > div > span that the drag and drop creates may be affecting it?
Has any body any suggestions how to achieve AOS effect in hubspot