The following snippets can be found in the admin section under 'Shortcodes' and should be utilized in the Widget/HTML module within the content section
Global
Applies animations for every single module
<script type="text/javascript">
//<![CDATA[
jQuery.noConflict();
(function($) {
// Init
$(document).ready(function() {
$('.hs-content .j-module').addClass('is-anim');
// wow
wow = new WOW(
{
boxClass: 'is-anim',
animateClass: 'animate__animated animate__fadeIn',
mobile: true,
offset: 50
}
)
wow.init();
});
})(jQuery);
//]]>
</script>
<div class="matrix-msg invisible">
page animations
</div>
Columns
Applies animations only for columns elements
<script type="text/javascript">
//<![CDATA[
jQuery.noConflict();
(function($) {
// Init
$(document).ready(function() {
$('.hs-content .j-hgrid,.hs-content .is-anim-block').addClass('is-anim');
// wow
wow = new WOW(
{
boxClass: 'is-anim',
animateClass: 'animate__animated animate__fadeInUp',
mobile: true,
offset: 50
}
)
wow.init();
});
})(jQuery);
//]]>
</script>
<div class="matrix-msg invisible">
page animations
</div>
The default animation effect is fadeInUp.
All animation effect classes:
It is possible to add an animation effect only for a specific module Columns. Inside the Columns that should be animated you simply add Widget/HTML with the following variables:
<var>wow animate__animated animate__fadeIn/var>
Animations only for one of the columns
<ins>wow animate__animated animate__fadeIn</ins>
All available options:
Folded animations for the images
<var>wow is-folded-left-img</var>
<var>wow is-folded-right-img</var>
Folded animation for the whole block ( Columns )
<var>wow is-folded-left</var>
<var>wow is-folded-right</var>
Donec elit libero, sodales nec, volutpat a, suscipit non, turpis. Etiam ultricies nisi vel augue. Proin pretium, leo ac pellentesque mollis, felis nunc ultrices eros, sed gravida augue augue mollis justo. Aliquam erat volutpat. Aenean tellus metus, bibendum sed, posuere ac, mattis non, nunc.
Vivamus elementum semper nisi. Donec vitae sapien ut libero venenatis faucibus. Fusce ac felis sit amet ligula pharetra condimentum. Curabitur ligula sapien, tincidunt non, euismod vitae, posuere imperdiet, leo. Curabitur ullamcorper ultricies nisi.
Morbi mattis ullamcorper velit. Vestibulum turpis sem, aliquet eget, lobortis pellentesque, rutrum eu, nisl. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Cras ultricies mi eu turpis hendrerit fringilla. Curabitur at lacus ac velit ornare lobortis.