I am trying to implement a Gsap scrolltrigger code to my project but for some reason I can’t get the code work. I have the same html structure, I’ve imported the right library and linked the id to the element supposed to be animated.
don’t have a read-only link as I’m trying it on my portfolio and don’t feel comfortable with sharing my portfolio project.
Since I’m not seeing anything on the Codepen that would prevent this working with the correct setup, it’s going to be nearly impossible to troubleshoot the issue without taking a look at the project.
I use GSAP on nearly every Webflow project I work on so I’m confident it shouldn’t be an issue getting this working with the right setup in place.
Since it’s fairly simple, are you able to recreate it on a new project with just the essential components and share that instead?
First of all. thank you very much for taking the time to help me and answer this thread.
I’ve created like you asked the structure in a new project. This new project hasn’t a plan, therefore no code but I’ll share you a screenshot of how I implemented the code in my portfolio that has a plan with custom code.
Also, I figured that by copying the HTML code from the Codepen and pasting in in a HTML embed element it works but then I don’t have as much control as I would like to have with the Webflow commands. So I’d like to find a way to trigger the “Rolling-text” div directly from a Webflow div and be able to control all the style properties from Webflow and not by CSS coding everything.