How to disable animations in Hestia
Hestia Pro uses the bundled Animate On Scroll (AOS) library, aos.min.js, for scroll animations. Returning false through the hestia_enable_animations filter disables these animations across your site and prevents the script from loading.
To disable the animations, add the following code to your child theme's functions.php file.
📝 Note: Scroll animations are a Hestia Pro feature. On the free version of Hestia there are no scroll animations, so this filter has no effect there.
function hestia_maybe_enable_animations(){
return false;
}
add_filter( 'hestia_enable_animations', 'hestia_maybe_enable_animations' );Alternatively, without editing your child theme, add the same code as a PHP snippet in Woody Code Snippets. Choose PHP Snippet, set Snippet Scope to Run everywhere rather than running it only through a shortcode, and make sure the snippet is active. Do not include opening or closing PHP tags.
You can also make the change by downloading and installing the following plugin:
