Themes & Design

How to Edit WordPress Navigation Bar

Step by step menu editing tutorial for classic WordPress themes

If you are unsure how to control your WordPress navigation bar, this tutorial will guide you step by step. You will learn exactly how to edit navigation bar links, change their order, and assign the correct menu to the header without breaking your layout.

By the end, you will confidently manage your main menu on classic themes such as Jannah and newer block themes. If you also want to improve your overall page layout, review our WordPress migration blog guide after finishing this tutorial.

What You Need to Start

  • Access to the WordPress Dashboard with an Administrator account.
  • An active WordPress theme installed and running on your site, such as Jannah.
  • A list of pages or links you want to show in your navigation bar.
  • Optional a recent full site backup or a staging site where you can test changes safely.
Always create a fresh backup or work on a staging copy before editing your navigation bar on a busy or high traffic WordPress site.
If you run WooCommerce or a membership site, plan to include key pages such as Shop, Cart, Checkout, Login, and Dashboard in your navigation bar so visitors can find them quickly.

Step 1: Identify your menu system

Before you edit the navigation bar, identify whether your theme uses the classic Menus screen or the newer Site Editor. This determines where you will make your changes.

  1. Log in to your WordPress Dashboard at yourdomain.com/wp-admin.
  2. Look at the left-hand sidebar and find Appearance.
  3. Check whether you see Menus listed under Appearance.
  4. If you see Menus, your site uses the classic menu system used by themes like Jannah.
  5. If you see Editor or Site Editor instead of Menus, your site uses a block theme and full site editing.
WordPress menu locations screen in the 'Manage Locations' tab, showing assignment options for Primary, Secondary, and Footer menus.
The WordPress ‘Manage Locations’ tab allows you to assign specific menus to your theme’s available positions, such as primary and footer menus.

How to verify Decide which path you will follow in this guide. If you saw Menus, follow Steps 2 to 4 and 6. If you saw only Editor, pay special attention to Step 5 for block themes.

Step 2: Open and select your navigation menu

Now open the correct screen to edit the navigation bar and select the menu that controls your main header links.

  1. In the WordPress Dashboard, go to Appearance » Menus.
  2. At the top of the page, find the Select a menu to edit dropdown list.
  3. Open the dropdown and look for menu names such as Main Menu, Primary Menu, or a theme-specific name like Main Navigation.
  4. Select the menu that most closely matches what you see in your current navigation bar.
  5. Click the Select button to load that menu.
  6. Review the items under Menu structure and confirm they match the links currently shown in your site header.
WordPress 'Menus' editor showing 'Hello World' navigation bar setup. Add items and select display locations.
The WordPress menu editor showing the initial setup for a new ‘Hello World’ navigation bar, ready for items to be added.

How to verify Open your site in a new browser tab. Compare the links in the header navigation bar to the items listed in the Menu structure area. If they match, you are editing the correct menu.

For more background on this screen, you can also check the official WordPress.org Menus documentation.

Step 3: Add remove and reorder menu items

With the correct menu selected, you can add new links, remove unwanted items, and reorder everything to match how you want your navigation bar to appear.

  1. On the left side of the Menus screen, expand the Pages box.
  2. Check the pages you want to add to your navigation bar, then click Add to Menu.
  3. To add a custom link (for example, an external site or a phone link), open the Custom Links box, enter the URL and Link Text, then click Add to Menu.
  4. To include blog categories, open the Categories box, select the categories, and click Add to Menu.
  5. In the Menu structure area, click and drag each item up or down to reorder how they appear from left to right in the navigation bar.
  6. Drag an item slightly to the right under another item to create a dropdown submenu under that parent link.
  7. Click the small down arrow on any menu item to open its settings, then edit the Navigation Label if you want a shorter link text.
  8. In the same panel, click Remove if you want to delete that item from the navigation bar.
  9. Scroll down and click Save Menu to apply your changes.
WordPress menu editor interface displaying the "Main Menu" with "About" and "Privacy Policy" as main items, and "Contact" as a sub-item, demonstrating navigation bar customization.
The WordPress menu editor allows you to customize your navigation bar by adding pages, reordering items, and creating sub-menus.

How to verify Refresh your live site in the browser. Confirm that new links appear, removed items are gone, and dropdown menus open correctly when you hover or tap parent items.

Step 4: Assign the menu to theme locations

Your navigation bar will only display correctly if the menu is assigned to the right theme location, such as Primary or Main Navigation. This is especially important with themes like Jannah that support multiple header menus.

  1. Stay on the Menus screen for the menu you just edited.
  2. Scroll down to the Menu Settings area and look for the Display location checkboxes, or click the Manage Locations tab at the top.
  3. Identify the location that controls your main header navigation bar, usually named Primary, Main Navigation, or Main Menu.
  4. Tick the checkbox or choose your edited menu from the dropdown next to that location.
  5. Optionally assign other menus to locations such as Top Menu or Footer Menu if your theme provides them.
  6. Click Save Changes or Save Menu to confirm.
Assigning WordPress navigation bar menus to theme locations, with 'Main Menu' set as the 'Primary Menu'.
View your WordPress navigation bar menu assignments under the ‘Manage Locations’ tab in the Menus section.

How to verify Refresh your homepage. Confirm that the correct set of links appears in the header navigation bar. If your theme supports a separate top bar or footer menu, check those areas as well.

Step 5: Edit the WordPress navigation bar in block themes

If your site uses a block theme and full site editing, you will edit the navigation bar inside the Site Editor using the Navigation block instead of the classic Menus screen.

  1. From the WordPress Dashboard, go to Appearance » Editor.
  2. On the opening screen, click the Templates or Home template you want to modify, or click directly on the header area in the preview.
  3. In the top toolbar, click the List View icon to open the block tree and locate the Header and then the Navigation block.
  4. Select the Navigation block, then use the + button to add new links and type the page or post you want to insert.
  5. Drag items up or down in the List View to reorder them, or drag them slightly to the right to create nested dropdown menus.
  6. Use the block toolbar and sidebar settings to adjust alignment and responsive behavior, then click Save in the top right corner.
  7. Confirm the templates you want to update in the Save panel, then click Save again.
WordPress Theme File Editor displaying header.php file for the Blogone theme, showing where to edit navigation bar related code.
Theme File Editor displaying header.php file for the Blogone theme, showing where to edit navigation bar related code.” width=”1100″ height=”536″> The WordPress Theme File Editor is open to the `header.php` file of the Blogone theme, often used for customizing the WordPress navigation bar.

How to verify Visit your homepage and any key pages. Confirm that the navigation bar in the header matches the changes you made. For more details on this block, see the official Navigation block documentation.

Step 6: Style your WordPress navigation bar and clear cache

After you adjust the links, refine the visual style of your navigation bar so it matches your brand and works well on mobile devices. Then clear any caches so visitors immediately see your changes.

  1. For classic themes, go to Appearance » Customize. For block themes, stay in the Editor screen.
  2. In classic themes like Jannah, open panels such as Header, Navigation, or Colors, then adjust background color, text color, font size, and alignment for your menu.
  3. In block themes, click the Styles icon (half-filled circle), then open Typography and Colors to style the Navigation block.
  4. Locate the mobile menu options (often under Header or Navigation) and choose how the hamburger icon, logo, and menu behave on small screens.
  5. Click Publish or Save to apply your style changes.
  6. If you use a caching plugin, open its menu in the admin bar (for example, WP Rocket or LiteSpeed Cache) and click Clear cache or Purge All. Also clear any CDN or host-level cache if available.

To fine-tune spacing or highlight active links, add custom CSS under Appearance » Customize » Additional CSS in classic themes, or in the Additional CSS area if provided by your theme.

/* Increase padding and highlight the active menu item */
.main-navigation ul li a {
    padding: 0.75em 1.25em;
}

.main-navigation ul li.current-menu-item > a,
.main-navigation ul li.current-menu-ancestor > a {
    color: #ffffff;
    background-color: #0073aa;
}
Menu CSS class names differ between themes. Use your browser inspector to confirm the correct selectors before copying this code into a production site.

How to verify Open your site in an incognito window and on a mobile device. Check that the colors, spacing, and dropdowns look correct and that the mobile menu opens and closes smoothly. If you still see the old menu, clear your browser cache and any remaining caches from your host or CDN.

Conclusion You Are Ready to Go

You have now learned how to edit your WordPress navigation bar using both the classic Menus screen and the newer Site Editor. You can add and remove links, create dropdowns, assign menus to theme locations, style the header, and confirm that everything works on desktop and mobile.

Whenever you change the structure of your site, return to these steps to update your navigation bar so visitors can always find your most important pages quickly.

Further Reading

Frequently Asked Questions

Can I have more than one navigation bar in WordPress

Yes. Many themes, including popular news and magazine themes, support multiple menu locations such as Primary, Top Bar, and Footer. Create separate menus under Appearance » Menus and assign each one to a different location in the Manage Locations tab or the theme’s header settings.

Why does my new page not show in the navigation bar

Adding a new page does not automatically add it to the navigation bar unless your theme or menu is set to do so. Go to Appearance » Menus, select your main menu, check the new page under Pages, click Add to Menu, drag it to the right position, and click Save Menu. Then refresh your site.

How do I change the navigation bar only on mobile

Some themes offer a dedicated mobile menu location. Check Appearance » Menus » Manage Locations for a Mobile Menu or similar location. Create a separate menu for mobile and assign it there. In the Customizer or Site Editor, look for mobile header options that let you choose which menu appears on small screens.

What if Appearance Menus is missing in my dashboard

If Appearance » Menus is missing, your site likely uses a block theme with the Site Editor. In that case, follow Step 5 in this guide. Go to Appearance » Editor, open your header, and edit the Navigation block instead of using the classic Menus screen.

Do I need a plugin to edit my navigation bar

No. WordPress core and your theme already provide complete tools for editing menus and navigation. Plugins are only needed for advanced mega menus or special effects. For most sites, the built-in Menus screen or Navigation block is more than enough and keeps your site simpler and faster.

Will changing my navigation bar affect SEO

Yes, navigation changes can impact SEO indirectly. Clear, consistent menus help search engines understand your site structure and help users find key content. Avoid removing important links such as main category or service pages. When you must rename or move items, keep URLs stable and ensure important pages remain linked from the main navigation or other prominent areas.

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button