Skip to content
Aaron Carmen
How-tos

How to Edit the Header in WordPress: Logo, Title and Menu

By Aaron CarmenUpdated October 20, 20263 min readTested on WordPress 7.1.3, October 20, 2026

Quick answer

How to edit the header in WordPress depends on your theme. In a classic theme, set the logo and title in Appearance, Customize, Site Identity, and the menu in Appearance, Menus. In a block theme, go to Appearance, Editor, Patterns, Header and edit the blocks there. Your site title carries across themes, but your header layout and menu placement don't.

How to edit the header in WordPress comes down to three things most people want to change: the logo, the site title and the menu. Where they live depends on whether your theme is a classic theme or a block theme. I set up a header in both on a test site running WordPress 7.1.3, and then switched between them to see what carries over.

To tell which kind you have, look under Appearance in the dashboard. A block theme shows Editor. A classic theme shows Customize, Widgets and Menus instead.

Classic themes: Customize for the logo, Menus for the menu

  1. Logo, site title and tagline

    Go to Appearance → Customize → Site Identity. Click Select logo to upload one, and edit the Site Title and Tagline. The preview on the right updates as you type. Click Publish to make it live.

  2. Build the menu

    Go to Appearance → Menus. Add pages from the left, drag them into order, and give the menu a name.

  3. Put the menu in the header

    Under Menu Settings, tick the theme’s header location. In Twenty Twenty-One it’s Primary menu. Click Save Menu.

WordPress Customizer Site Identity panel with Select logo, Site Title, Tagline and Site Icon settings beside a live preview
Site Identity in the Customizer, with a live preview. Twenty Twenty-One, WordPress 7.1.3, October 20, 2026.

The step people miss is the last one. A menu that isn’t assigned to a location doesn’t appear anywhere, however carefully you built it.

WordPress Menus screen showing a menu called Main with Home, Services and Teeth Whitening, and Primary menu ticked under Menu location
Appearance → Menus: the menu only shows in the header once a location like Primary menu is ticked. WordPress 7.1.3, October 20, 2026.

On my test site, with the logo, title, tagline and menu set, the header looked like this. Twenty Twenty-One places the logo above the title, with a line between them. Other classic themes arrange it differently, but the settings are in the same two places.

Twenty Twenty-One header with a small logo, a divider, the site title Example Dental and tagline on the left, and a Home, Services, Teeth Whitening menu on the right
The finished classic header. WordPress 7.1.3, October 20, 2026.

Block themes: edit the Header template part

  1. Open the header

    Go to Appearance → Editor → Patterns and click Header under template parts. Open the one your pages use; in Twenty Twenty-Five it’s the one called just Header.

  2. Change what's in it

    The header is made of blocks: Site Title, Navigation and, if your theme includes one, Site Logo. Click a block to change it, or use the + to add one. The Design panel in the sidebar offers the theme’s other header layouts.

  3. Choose the menu

    Select the Navigation block and open its menu from the sidebar. Pick a menu, create one, or import an old one under Import Classic Menus. Then click Save.

WordPress Site Editor editing the Twenty Twenty-Five header with the site title on the left and navigation on the right, and alternative header designs in the sidebar
The Header template part in Twenty Twenty-Five: Site Title and Navigation, with other layouts under Design. WordPress 7.1.3, October 20, 2026.

Twenty Twenty-Five’s default header has no logo. If you want one, add a Site Logo block next to the title and set its width in the block settings.

What happens to your header when you switch themes

I switched my test site from the classic theme to the block theme with the header fully set up. This is what happened:

  • The site title stayed. It’s a site-wide setting, not part of the theme.
  • The logo disappeared from the header, because the new header had no logo block. The image wasn’t lost: when I added a Site Logo block, the same logo appeared straight away, and in the footer too.
  • The menu was replaced by an automatic list of every page, including a leftover duplicate. Importing the old menu in the Navigation block brought back Home, Services and Teeth Whitening.

One thing to watch when importing: WordPress saves the imported menu and the header change separately, and both need saving. Clicking the editor’s Save button handles both.

Twenty Twenty-Five header with a small logo on the left, the site title Example Dental, and a Home, Services, Teeth Whitening menu on the right
The block theme header after adding a Site Logo block and importing the old menu. WordPress 7.1.3, October 20, 2026.

Page builders

If your header was built with a page builder, change it there. Elementor’s help center puts it under Elementor → Theme Builder, in the Header card, where you also choose which pages it appears on. I haven’t tested that on my test site.

Keep the header simple

Your header is on every page, so every link in it is a link from every page. Keep the menu to the pages people actually look for, and put the phone number or booking button where visitors can see it without scrolling. My guide to SEO-friendly web design covers how to plan it. If you’d rather have it set up for you, headers, menus and logos are part of my WordPress development work. For the bottom of the page, see how to edit the footer.

FAQ

Common questions

How do I change the logo in my WordPress header?

In a classic theme, go to Appearance, Customize, Site Identity and click Select logo. In a block theme, open the Header in Appearance, Editor and use the Site Logo block. If the header has no Site Logo block, add one: WordPress keeps the logo you set before, so it appears straight away.

Why isn't my menu showing in the header?

In a classic theme, the menu has to be assigned to the header's location: in Appearance, Menus, tick the theme's main location (Primary menu in Twenty Twenty-One) and save. In a block theme, the Navigation block shows a list of all your pages until you choose a menu for it.

I changed themes and my header lost its logo and menu. Did I lose them?

No. On my test site, switching from a classic to a block theme kept the site title and the logo image, but the new header had no logo block, and the menu was replaced by a list of every page. Adding a Site Logo block and importing the old menu in the Navigation block brought both back.

Can I have a different header on some pages?

In a block theme, yes: create another header template part and use it in the template those pages use. Classic themes usually need a plugin or code for that, and page builders like Elementor's Theme Builder let you choose which pages each header appears on.

Aaron Carmen, SEO specialist

About the author

Aaron Carmen

Senior WordPress Developer and SEO Specialist

I've built and optimized WordPress websites since 2013, 13+ years in total, including 9.5 years building WordPress sites for every client of a dental marketing agency. Today I help local businesses and agencies with WordPress development and SEO, so they get found on Google Search, Google Maps and AI search.

WordPress is a trademark of the WordPress Foundation. Aaron Carmen is not affiliated with or endorsed by the WordPress Foundation or the WordPress open source project.

Contact

Want this done for you?

Tell me about your site and what you need. I'll reply within one business day with any questions, then a fixed quote.

  • Reply within one business day
  • No obligation, no hard sell
  • Form and email only, calls optional
What you need

Prefer email? hello@aaroncarmen.com