Hi!
I have two sites:
upvoicd.com
eartoear.io
I have the same Site Code running on both, designed to make the header shrink when you scroll down the page (code below).
These both work fine in Preview, and used to work in Live when I first added them.
However, more recently the header has stopped resizing in the Live version - even though it does still work in Preview. This occurs in both Chrome and Safari.
Can anyone tell me what the issue might be?
Many thanks!
Tom
$w.onReady(function () {
//TODO: write your page related code hereβ¦
});
export function header1_viewportLeave(event) {
$w(β#logosmallβ).show();
$w(β#stripsmallβ).show();
$w(β#biglogoβ).hide();
$w(β#bigstripβ).hide();
}
export function header1_viewportEnter(event) {
$w(β#logosmallβ).hide();
$w(β#stripsmallβ).hide();
$w(β#biglogoβ).show();
$w(β#bigstripβ).show();
}