Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Setup & site building · Guide

How to Remove Header in WordPress (Step by Step)

How to Remove Header in WordPress (Step by Step)

Short answer

In a block theme, open Appearance, then Editor, select the template and delete the header template part. In a classic theme, use your theme's per-page disable header option or a blank template. Custom CSS can hide the header when no cleaner option exists.

Key takeaways

  • Check whether you use a block or classic theme first.
  • Block themes remove headers by editing templates.
  • Use a custom no-header template for single pages.
  • Many classic themes have a per-page disable header option.
  • Elementor Canvas removes both header and footer.
  • CSS hides the header but still loads its HTML.

How do you remove the header in WordPress?

To remove the header in WordPress, delete or hide the header template part in a block theme, use your theme's per-page header option or a blank template in a classic theme, or hide it with CSS.

The right method depends on two things: which kind of theme you use, and whether you want the header gone from one page or the whole site.

Removing the header from a landing page or sales page is common. Removing it site-wide is rarer, because visitors need a way to navigate.

Before you start, check that you mean the site header, with your logo and menu. The black bar at the top when you are logged in is the admin toolbar. Our guide on how to remove the WordPress header bar covers that instead.

Which method should you use?

Use the Site Editor for block themes, built-in theme options or a blank page template for classic themes, and CSS only when no cleaner option exists.

This table summarises the options.

MethodTheme typeScopeSkill needed
Remove header template partBlock themeOne template or site-wideBeginner
Blank or no-header templateBlock or classicSelected pagesBeginner
Theme per-page header settingClassic themes like Astra, KadenceOne pageBeginner
Page builder canvas templateElementor and othersOne pageBeginner
Custom CSSAnyOne page or site-wideIntermediate
Child theme codeClassic themeAnyAdvanced

Check your theme type under Appearance > Themes. If Appearance > Editor appears in the menu, you have a block theme. Our guide on block themes vs classic themes explains the difference.

How do you remove the header in a block theme?

In a block theme, open the Site Editor, select the template you want to change, click the header template part and delete it, then save the template.

Follow these steps:

  1. Go to Appearance > Editor.
  2. Choose Templates and open the template you want, such as Pages or Single Posts.
  3. Click the header area. The block toolbar should show Header as a template part.
  4. Open the three-dot menu on the toolbar and choose Delete.
  5. Click Save.

This removes the header from every page that uses that template. Your header template part is not deleted, only removed from this template, so you can add it back later.

The Site Editor documentation covers templates and template parts in more detail.

How do you remove the header from just one page in a block theme?

Create a custom template without a header, then assign it to the single page from the page's Template setting in the block editor.

Here is the process:

  1. Open the page in the block editor.
  2. In the Page settings sidebar, click the current Template name.
  3. Choose to create a new template and give it a clear name, such as No Header.
  4. In the template editor, select the header template part and delete it.
  5. Save the template, then update the page.

Many block themes, including recent default themes, already ship a blank or Page No Title style template. Check the template list before building your own.

Our guide on how to edit the header in a block theme explains how header template parts are structured.

How do you remove the header with your theme's settings?

Many popular classic themes add a per-page option to disable the header, usually found in a settings panel in the page editor sidebar or below the content area.

Themes such as Astra, Kadence, GeneratePress, OceanWP and Blocksy offer options like Disable Header, Transparent Header or a full-width canvas layout. The exact label differs by theme and version.

To find it:

  1. Open the page in the editor.
  2. Look for a theme-branded settings panel in the sidebar, or a meta box under the content.
  3. Find the header or layout section.
  4. Turn the header off and update the page.

If you cannot find it, search your theme's documentation for disable header. Some options require the premium version of the theme.

How do you remove the header with a page builder?

Page builders like Elementor include a canvas template that shows only the content you build, with no theme header or footer.

In Elementor, open the page, click the settings gear, and set Page Layout to Elementor Canvas. The Elementor page layout guide explains the canvas and full-width options.

The canvas template removes both header and footer. If you want to keep the footer, use Elementor Full Width and remove the header with a theme option instead.

If you built a custom header with Elementor Pro's Theme Builder, change its display conditions to exclude certain pages. Our guide on how to edit a header in Elementor shows where those conditions live.

How do you hide the header with CSS?

You can hide the header with a display none rule targeting the theme's header element, either on one page using its page-id body class, or across the whole site.

First find the header's selector. Right-click the header, choose Inspect, and look for an element like a header tag or a class such as site-header.

Next, find the page's body class. WordPress adds classes like page-id followed by the number to the body tag on each page.

Then add CSS under Appearance > Customize > Additional CSS, or in the Site Editor's Additional CSS for block themes. For one page, combine the page-id class with the header selector and set display to none.

The MDN display property reference explains how display none works.

Note that CSS only hides the header visually. The HTML still loads, so it does not save page weight.

Can you remove the header with code in a child theme?

Yes, in a classic theme you can copy the page template into a child theme and remove the get_header call or swap in a minimal header file.

Classic themes load the header through get_header in template files such as page.php. The Theme Handbook section on template files explains how these files work.

A safer approach is a custom page template in a child theme. Add a template name comment at the top, include a minimal header without the logo and menu, and choose that template for the pages you want.

Always work in a child theme so theme updates do not erase your changes. Our guide on what a child theme is explains the setup.

Removing get_header completely also drops the wp_head hook, which breaks plugins, styles and scripts. Keep wp_head in place even if the visible header is gone.

What should you check after removing the header?

After removing the header, check that visitors can still navigate, that the logo and menu are not needed elsewhere, and that the page looks right on mobile.

Run through this quick checklist:

  • The page still loads styles and scripts properly.
  • Visitors have another way to reach important pages, such as footer links.
  • Spacing at the top of the page looks intentional, not broken.
  • The change appears for logged-out visitors after clearing caches.
  • Search engines can still reach your other pages through internal links.

If you only wanted to remove the menu and keep the logo, our guide on how to remove the menu from a WordPress page is a better fit.

How do you bring the header back?

To restore the header, re-add the header template part in the Site Editor, switch the page back to the default template, turn the theme option back on, or delete the CSS rule.

In block themes, you can also reset a template to its original state from the template's options menu. That removes all your customisations to that template.

If you edited a child theme, switch the page template back to Default template.

If you want a different header rather than none, see our guide on how to change the header in WordPress.

Frequently asked questions

How do I remove the header from only one page in WordPress?

In a block theme, create a custom template without the header part and assign it to that page. In a classic theme, use the theme's per-page header option, a blank template, or a CSS rule that targets that page's page-id body class.

Will removing the header affect my SEO?

Not directly, but the header usually holds your main menu, which helps visitors and search engines find other pages. If you remove it, keep important internal links elsewhere, such as in the footer or within the page content.

Is the header the same as the WordPress admin bar?

No. The header is part of your theme and shows your logo and menu to visitors. The admin bar is the dark toolbar only logged-in users see at the top of the site, and it is controlled from your user profile.

Why does the header still show after I removed it?

A page or server cache may be serving an older version, or the page uses a different template than the one you edited. Clear every cache, check the page's assigned template, and view the page in a private window.

Can I remove the header without a plugin?

Yes. The Site Editor, theme settings, page templates and the Additional CSS panel all work without extra plugins. Plugins are only needed if your theme offers no option and you prefer not to write CSS.

Sources

  1. Site Editor WordPress.org Documentation
  2. Template Files WordPress Developer Resources
  3. Page Layout Elementor Help Center
  4. display MDN Web Docs

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.