Hi All,
So, I have this shrinking header that looks really cool on homepage using an anchor located in the header area with onViewportEnter/Leave commands. However, the design is such that the large Logo is seen only on homepage and in the other pages I prefer to see only the smaller/shrunk version of the header.
The problem is that - if I scrolled down and switched a page, than it looks good, the way I want it to. But, if I switched a page without scrolling first or landed first on any page other than homepage - then I get the larger version of the menu without a logo. Here’s a video to show you what I mean. https://www.useloom.com/share/d95a4288929b47d49fc5f3e405573304
The code was placed in the Site Tab, but this doesn’t help because the anchor doesn’t repeat in the other pages anyway.
Any idea what I am doing wrong and how to fix this?
The code was placed in the Site Tab, but this doesn’t help because the anchor doesn’t repeat in the other pages anyway.
Can you try copying the anchors with the same Javascript ID (Example: anchor1 ) and then click on the onViewportEnter & onViewportLeave Function on the Properties Panel to activate it, by doing this you will get the regular export function… on your Page Tab.
Just delete the export function on the page tab and it should be fine.
Its not an exact solution but maybe you can try a workaround with something like this
@shantanukumar847 do you mean on the menu itself? normally I do it on the anchor… I tried onViewportLeave and Enter. Now the BigMenu hides, but when I scroll back up it becomes empty.