Your navigation disappearing while scrolling is likely caused by scroll interactions, element positioning, or z-index conflicts in Webflow.
1. Check Scroll Interactions or Page Animations
- Go to the Interactions panel (lightning icon) and check if there’s a Page Scroll interaction applied.
- Look for actions like "Hide/Show", "Move", or "Opacity" applied to your Navbar.
- If your nav is part of a Section Scroll animation, the element might be unintentionally set to move out of view.
- Disable or adjust any interactions that modify the nav’s visibility.
2. Review Element Positioning and Overflow Settings
- Select your Navbar element and check its position (e.g., Fixed, Sticky, Absolute).
- If it’s set to Fixed, ensure the position is set to Top with the appropriate z-index.
- Inspect the parent containers — if any of them have overflow: hidden, the navbar may be getting clipped out.
- Change overflow to "visible" on parent containers where needed.
3. Check Z-Index Value
- Make sure your Navbar’s z-index is higher than other elements on the page, especially sections that scroll up over it.
- Common values: set Navbar z-index to 1000+ to prevent it from being overlapped.
4. Validate Display Settings Across Breakpoints
- In the Style panel, check whether your Navbar is set to display: none at any specific scroll breakpoint or screen size.
- Make sure display is set to flex or block on all intended breakpoints.
5. Inspect Custom Code
- If your project uses custom JavaScript, ensure there is no script that modifies the Navbar’s visibility on scroll.
- Look for jQuery or JS that uses
hide()
, fadeOut()
, or scroll event listeners targeting the nav.
Summary
To fix the disappearing navigation, check for unintended scroll interactions, adjust positioning and overflow settings, confirm a high z-index, and review display settings on all breakpoints. Also, rule out any custom code affecting visibility.