Avada Forums Community Forum Tabs Closed on mobile Reply To: Tabs Closed on mobile

Post count: 3

To fire the script only on small windows add

if(window.innerWidth <= 760){

Note that the script fires only once so there will be no change if you change the screen size after it loads unless you refresh the page.