Home Forums WoodMart support forum Keep Animation Active on Scroll (Not Only on First Load)

Keep Animation Active on Scroll (Not Only on First Load)

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #699063

    dheeraj.5689
    Participant

    Hello Support Team,

    I have a question regarding the animations on the page. Currently, the animation works only the first time the page loads, which I understand is the standard behavior. However, after that, when the user scrolls up or down (without refreshing or reloading the page), the animation does not trigger again.

    Is it possible to keep the animation active so that it triggers every time a visitor scrolls up or down, instead of only on the initial page load?

    Please let me know if this can be enabled or if there is a recommended approach to achieve this.

    Thank you

    #699217

    Hello,

    Yes, the behavior you’re seeing is standard: animations on scroll in WoodMart usually trigger only the first time the element enters the viewport. Once the element is visible, the animation does not repeat when scrolling back and forth.

    Currently, there isn’t a built-in option in the theme to make scroll animations repeat every time. Achieving this would require custom JavaScript to re-trigger the animations whenever the element enters the viewport again.

    Best Regards,

    #699269

    dheeraj.5689
    Participant

    Alright, understand.

    Would you suggest which files or library handle the Animation part?

    Thank you.

    #699391

    Hello,

    You find it in the file /wp-content/themes/woodmart/js/scripts/global/animations

    All the customizations made in the theme files are at your own risk.

    Best Regards,

    #699558

    dheeraj.5689
    Participant

    Alright, Thanks Aizaz.

Viewing 5 posts - 1 through 5 (of 5 total)