First off I would like to say I am new & just learning to working with the code for my wix websites. Can anyone help me figure out why the code entered on my site code works in preview mode but not on my live website? I would like to figure this out so I can use the similar features on some of my other websites.
Hey! The #CorvidMasters may be able to shed some light on this. In the interim, have you tried posting to the Corvid Forum? You may get a response there as well.
Yes unfortunately I noticed these headers issues over a month ago on other websites too. Some of the YouTube tutorials I watched on this have lots of recent code / header comments from users with no one really getting it resolved. I’m sure Wix will get these bugs fixed or hopefully the #CorvidMasters might have a different solution for me to get my headers effects to start working again.
This is known issue after a recent update and unfortunately the tutorials haven’t been updated. Basically you need to use some other element’s viewport function other than the header’s. Could be an anchor, or a transparent line pinned to screen or anything like that. There’s a more complex solution as well, but since you’re a beginner this should work just fine.
@_dima I don’t think it’s a related issue. But yes I’ve seen what you mentioned on sites I’ve worked on, though I don’t think it has to do with collapsing on load necessarily. Even on sites where the header is visible, it will sometimes do this if you’ve shrunk the header. It’s as if the page is loading with some preset header height that isn’t where it should be. You should create a new post for this so the devs can see.