To address the issue of the logo and menu icon moving/disappearing when scrolling in Webflow, follow these steps to keep the menu icon fixed with a maroon background.
1. Make Navbar Elements Fixed
- Select your Navbar element in the Webflow Designer.
- In the Styles panel, adjust the position setting to Fixed. This will ensure that the navbar, along with the logo and menu icon, stays in place while scrolling.
2. Apply Background Color
- Within the Styles panel, set the background color to maroon for your fixed Navbar. You can input the hexadecimal code or use the color picker to select maroon.
3. Adjust Z-Index
- Ensure the navbar has a higher z-index than other elements. This ensures that it stays visible on top of other page content when set to fixed.
4. Ensure Visibility of Elements
- Check that the reduced logo and menu icon have no issues of opacity or display setting changes on scroll. Set them to be visible as you require.
5. Review Interactions
- Inspect any interactions applied to the Navbar and its elements, such as scroll-based animations. Ensure they aren't unintentionally causing the icons to disappear.
Summary
To fix the issue of the navbar elements moving and disappearing, set the position of the Navbar to fixed in Webflow and apply a maroon background color. Ensure that interactions do not interfere with visibility, and set a high enough z-index to keep the Navbar on top. This approach will create a consistent and stable menu icon display while scrolling.