HI Steph
The issue with AOS is it requires a set data attribute to trigger animations. For Joomla it is best that animations are triggered by classes as all modules have a 'Module Class Suffix' field.
An alternative library that is suitable is wow.js. To enable wow.js try the following customisation...
1. Remove the following from your templates scripts.php (../templates/[YourTemplate]/inc/scripts.php - approx. line 66)...
if($this->params->get('animatecss_sw')) {
// Animate on Scroll
$document->addScriptDeclaration('
Modernizr.load({
test: Modernizr.touch,
yep : "",
nope: "'.$this->baseurl.'/templates/'.$this->template.'/js/jquery.visible.js"
});
');
}
2. At the end of your templates index.php (../templates/[YourTemplate]/index.php) just before the closing body tag ( < / b o d y > ) add the following...
<script src="/https://cdnjs.cloudflare.com/ajax/libs/wow/1.1.2/wow.js"></script>
<script>
var wow = new WOW(
{
boxClass: 'animate',
}
);
wow.init();
</script>
Does this work for you? If not could you please post a URL to an example of your animation.
Ciaran