Hi everyone! I coded my header to change as you scroll down
export function header1_viewportEnter(event, $w) { $w('#transparentheader').hide(); $w('#normalheader').show(); } export function header1_viewportLeave(event, $w) { $w('#transparentheader').show(); $w('#normalheader').hide(); }
This only seems to be working on my preview and not when my site is Published. Thank you in advance for any insights!
I don't have anything to add in terms of advice, but just wanted to second that this is a problem I'm also having right now. My code has worked fine for weeks and still does in Preview mode, but now it suddenly doesn't on the Published site