Streaming live at 10am (PST)

Navbar background color change

Hey everyone

I am trying to create an animation for my navbar. I would like the colour to go from transparent to white when you scroll down. I have managed to successfully do this, but when I try to put an interaction in for the colour to return back to transparent when one of the headings at the top comes into view, it doesn’t change. It remains as white.

Any ideas what I am doing wrong?

Here is my site Read-Only: Webflow - Prescription Skin