Hey,
I have now managed to get ScrollTrigger working on Wordpress but...
scrollTrigger: {
trigger: '.wrap', -- stops ScrollTrigger working on Wordpress (the source of my original issue) but works on CodePen
trigger: 'wrap', -- ScrollTrigger works on both Wordpress and CodePen
trigger: '#wrap', -- ScrollTrigger works on both Wordpress and CodePen
trigger: '.container', -- ScrollTrigger works on both Wordpress and CodePen
Plus, commenting out the trigger (eg. // trigger: 'anything', ) works on both Wordpress and CodePen. Is this a bug that no trigger is required?
https://codepen.io/craigoh/pen/oNWrPLz
Further query arises, on Wordpress, the snap has nil easing -- on Codepen, however, the snap has easing (using the same code )???
Trying to learn what's going on here... much appreciated, Craig