To create a full-screen mobile menu like the one in your shared Webflow read-only link, you need to customize the built-in Webflow Navbar component or build a custom menu using interactions.
1. Set Up the Navbar Structure
- Add a Navbar from the Add panel (press
A
) if you haven’t already. - Inside the navbar, delete extra elements like the default nav links or container if not needed.
- Add a Menu Button (hamburger icon) and a Full-screen Menu Wrapper (a
Div Block
) that will serve as the full-screen overlay.
- Rename the
Div Block
to something like Full-screen Menu for clarity. - Apply the following styles:
- Position: Fixed
- Top, Bottom, Left, Right: 0
- Z-index: At least 100 (above nav)
- Background color: Apply a solid or semi-transparent background
- Display: Set to None (will be shown via interaction)
- Flex: Set to Vertical / Center / Center (for vertically centered menu links)
- Inside the full-screen menu wrapper, add a List of Links (text links or link blocks) that serve as the navigation items.
- Style them for large, mobile-friendly readability (e.g., large font size, spacing, hover effect).
4. Create the Menu Open and Close Interactions
- Select the Menu Button, go to Interactions panel (lightning icon), and set up a new Mouse Click (Tap) animation.
- First Click (Open Menu):
- Action: Start an animation
- Add Steps:
- Set the Full-screen Menu display to flex (Set Display to Flex)
- Animate opacity from 0 to 100%
- Second Click (Close Menu):
- Create a second animation that:
- Animates opacity from 100% to 0
- Then sets Full-screen Menu display back to None
5. Ensure Responsiveness
- Go to Tablet and Mobile views to hide the desktop navigation.
- Fine-tune padding, font sizes, and layout to ensure the menu is user-friendly on all screen sizes.
- You can add a close icon or button inside the full-screen menu (positioned top-right).
- Set up a separate interaction on it to hide the menu using the same steps from the close menu animation.
Summary
To create a full-screen mobile menu in Webflow, build a fixed-position full-screen div, hide it by default, and use interactions triggered by the menu button to control its visibility. Don’t forget to style it for mobile devices and ensure smooth animations for a polished user experience.