Plugin Support
Vytis
(@bvytis)
Hi @cdheumann,
Thank you for your feedback about the plugin!
We don’t have documentation to achieve such a custom behavior, everything is possible of course but it might require digging more into re-doing the plugin to work this way.
Hey @cdheumann,
You can navigate to Settings > Otter, and disable Optimize Animations CSS toggle and it should start working.
Let us know how it goes.
Hi @hardeepasrani I don’t have this setting because I don’t have installed the otter Plugin. I only used “Blocks Animation”.
Hi @cdheumann!
Could you please check if the issue is solved if Otter is installed and the Optimize Animations CSS toggle is disabled?
Thanks!
Hi,
Once the plugin was installed, I has the same issue using the plugins native classes in my template if no block in Gutenberg in the page has a manually set option value for its animation.
You can add this in your functions.php :
add_action( 'wp_enqueue_scripts', 'add_script_to_front' );
function add_script_to_front() {
wp_enqueue_script('otter-animation-frontend', '/wp-content/plugins/blocks-animation/build/animation/frontend.js');
wp_enqueue_style('otter-animation', '/wp-content/plugins/blocks-animation/build/animation/index.css');
}
Then, the necessary scripts and styles files are always loaded.
Hope that helps 🙂
-
This reply was modified 2 years, 8 months ago by
Ishko.