To adjust the tablet breakpoint and alter the appearance of your nav menu (hamburger menu) at an earlier width than the default 992px, you'll need to use a custom solution. Webflow doesn't directly allow for changing or adding breakpoints in the GUI, but custom code can achieve the desired effect.
1. Use Media Queries in Custom Code
- Add a custom media query in the Project Settings under the Custom Code section. This can force the hamburger menu to appear at a custom width.
- Use a CSS media query to target the desired pixel width (e.g., 1150px).
2. Write Custom CSS
- Write custom CSS to display the hamburger menu at the specified width.
<style>
@media screen and (max-width: 1150px) {
.w-nav-button {
display: block;
}
.w-nav-menu {
display: none;
}
}
</style>
3. Add Custom Code to your Webflow Project
- Go to Project Settings > Custom Code.
- Insert the CSS code in the Head tag section to ensure it applies site-wide.
- Alternatively, add it directly in the Page Settings if the change should only apply to a specific page.
4. Publish and Test
- Publish the site to apply changes.
- Test the behavior of the nav menu by resizing your browser and ensuring that the hamburger menu appears as expected at 1150px.
Summary
To customize the breakpoint for your nav menu, use a media query in custom CSS to make it display at an earlier width. By modifying the Custom Code settings in Webflow, you can achieve the desired behavior for your website design.