Hi, it's me again. I thought I had solved... but it doesn't work on mobile. Also, the 40% section is getting "shorter" because above comes the 3rd section more and more above ....
I have created variables for .panel60 and .panel40 but I don't know if I should create a function for each of them?
Also, in mobile, they should be all full width sections, but the third section is not visible, it only does the scroll trigger with the .panel60 and .panel40 sections....
What am I doing wrong?
Updated Codepen:
https://codepen.io/lagalga/pen/OJrvKML
I have this on a wordpress site, with Divi theme:
https://temp.espaciotramo.com/