Scroll Snap from Scrollify and Mobile scroll

Hi,

I’m using Scroll Snap from Scrollify on the desktop version of my website, but I would like to scroll as usual on the mobile version of the website. Does someone know how to make the code work only in desktop mode?
Thank you for your help!


Here is my public share link: [LINK](Webflow - Trio Pantoum)
(how to access public share link)

I found a way to make it work, so I’m sharing it here in case someone has the same question!

<script>
		if ($(window).width() <= 767) {
      $.scrollify.disable();
} 
    $(function() {
      $.scrollify({
        section : ".your-section",
      });
    });
</script>
2 Likes