Wix Code | How to Create a Frozen Header That Changes as Visitors Scroll

I applied all instructions from the following youtube video:

However, when I scroll back up it doesn’t change back to transparent.

Header Tutorial: Wix Code | How to Create a Frozen Header That Changes as Visitors Scroll - YouTube

I would go back and rewatch the tutorial a few times and pay careful attention to what they are doing to make sure that you have done everything as they have stated, as it is easy to miss out something simple like making sure that both strips are attached to the header or you haven’t applied the onViewport event in properties panel etc.

Otherwise, check your code is exactly as they have stated to use and make sure that it is in your site tab and not on page tab.

Still, struggling then check out the other links here:

https://codequeen.wixsite.com/new-shrinking-header/the-code