To create a custom navigation bar in Webflow with a centered logo and menu items, and style links with no underline or blue color, follow these steps:
1. Structure the Navbar Elements
Drag a Section onto the canvas and give it a class like navbar
.
Inside the navbar section, add a Container or use a Div Block
with Flexbox
layout:
Set Display to Flex
Set Justify: Space Between or Center, depending on your structure
Set Align: Center
Inside the flex container, add three Div Blocks
:
Left Menu (for left-side menu items)
Center Logo (for the logo)
Right Menu (for right-side menu items)
2. Add and Style the Logo
- In the Center Logo div, insert an Image or Text Link and set it to your logo.
- Apply margin settings (e.g., auto left and right) if needed to center it correctly within the flex layout.
- In both the Left Menu and Right Menu divs:
- Add Link Blocks or Text Links for each menu item.
- Use the Navigator panel to ensure links are inside the correct div blocks.
- Use padding or margin to space out each menu item.
- Click on each Link Block or Text Link, then:
- In the Element Settings panel, set the link to internal pages using the Page dropdown.
- If you're linking to sections on a page, set the URL field to an ID anchor (e.g.,
#about
if the section has that ID).
5. Remove Underlines and Blue Color
- Select your menu link elements (Text Links or Link Blocks) and create a class like
menu-link
. - In the Style panel, apply the following:
- Text Color: Set to your desired color (e.g., black or white).
- Text Decoration: Set to None to remove the underline.
- Font Weight / Style: Adjust as needed for branding.
6. Optimize for Mobile
- Switch to Tablet and Mobile views in Webflow’s responsive view.
- Adjust flex direction or stack elements vertically.
- You may need to use a navbar component with a hamburger menu for mobile behavior.
Summary
To build a custom centered navigation bar in Webflow, use a flex layout with side menus and a centered logo, remove default link styles by setting text color and removing underlines via a class, and properly link each item to internal pages or anchors using the element settings.