Hi, I've followed the steps directed in Wix.com's official video, "How to Create a Frozen Header That Changes as Visitors Scroll."
https://www.youtube.com/watch?v=ri98D-oZJnw
Coding:
![](https://static.wixstatic.com/media/a27d24_66da3f608e4d40a995c427fcb9423108~mv2.png/v1/fill/w_708,h_327,al_c,q_85,enc_auto/a27d24_66da3f608e4d40a995c427fcb9423108~mv2.png)
It works perfectly in Preview mode -- I have one header strip that appears at first, and a second header strip that replaces it when you scroll down.
But the effect doesn't work on the live site at all. I'm seeing comments on Youtube all for this same issue, so clearly something is missing.
Is there additional coding I need to add? Or an alternate solution to try?
https://www.wix.com/corvid/forum/community-discussion/fixed-frozen-header-example
Yes i had a similar problem but what i have figured out so far is export function is not hiding or collapsing anything for now ; its due to the new rollout , the only way to play with your elements is import window function then use some code to trigger scroll header .also hidden on load will not work untill they do something about it
https://www.wix.com/corvid/forum/community-discussion/on-scroll-header-menu-works-in-preview-mode-but-not-in-published-site-after-upgrade this has the new code we need , its due to chrome update , so the viewport is no longer being recoggnised for now anyway .
I've got the same issue. Any news on this?
i can second that , i have searched all forum there are many many people with similar issues,, it seems they have allowed us to preview with the javascript running fine and when we visit on live site the script is not running or is unable to get the other elements , i really dont understand when will their customer service wake up?