How to Remove Header and Footer in WordPress page

How to Remove Header and Footer in WordPress page

While talking about WordPress website layout, header and footer are the most common design elements that come to the mind besides the content area. Header is the top area of the website followed by the content area and a footer at the bottom of the page. Header and footer are very useful elements in a website as they contain logo, title, navigation menu and links to important pages (privacy policy, terms & conditions) respectively.

Sometimes you need to remove header and footer in WordPress page or from the whole site while creating landing pages, sales funnels, or implementing unique designs. Removing the header and footer allows you to focus attention and have complete control over your page layout. Therefore it becomes essential to have knowledge about how to remove header and footer in wordpress page. In this blog post I’ll guide you through the process of removing the header and footer in WordPress page.

Let’s start!

Why You may need to remove header and footer in WordPress page

Removing the header and footer from your WordPress website can be beneficial for several reasons:

  1. Enhanced Focus: Removing the header and footer helps eliminate distractions and keeps visitors focused on the main content or call-to-action of a specific page.
  2. Customization:  You have the freedom to customize the design, layout, and branding of individual pages according to your preferences.
  3. Seamless User Experience: Removing the header and footer is particularly useful for landing pages, sales funnels, or specialized content where you want to guide users through a specific flow without any unnecessary navigation elements.
  4. Alternative Navigation: Removing the header and footer allows you to implement alternative navigation options such as sidebars, custom menus, or unique navigation styles that better serve the purpose and structure of specific pages.
  5. Design Flexibility: Removing the header and footer gives you complete control over the visual presentation of your website, allowing you to create unique and engaging experiences that align with your specific goals.

In short, removing the header and footer in WordPress offers the opportunity to enhance focus, customize design, create seamless experiences, implement alternative navigation, and exercise design flexibility, ultimately improving the overall user experience on your website.

How to remove Header and Footer in WordPress Page: 3 ways

There are several ways to remove the header and footer in a WordPress page. Here I’ll discuss three easy ways which are as follows:

  1. Remove header and footer with wordpress page builders
  2. Remove header and footer with wordpress theme options
  3. Remove header and footer with Custom CSS code

1) Remove header and footer with wordpress page builders (Page Template)

This is the easiest way to remove header and footer in wordpress page. Page builders are user-friendly tool to customize layouts for your wordpress sites. Along with providing lots of features, page builders give you freedom to remove default header and footer from wordpress page. There are many page builders but here I’ll be using the most commonly used page builder known as Elementor.

Don’t have Elementor?

No Worries!

The process is similar for nearly all the page builders. You’ll have to follow these steps in order to remove header and footer in wordpress page:

Step 1:

  1. Log in to wordpress dashboard.
  2. Navigate to plugins->Add New
  3. Search for “Elementor”
  4. Click on “Install” button and then “Activate” the plugin.

How to remove header and footer in WordPress page

Step 2:

  1. Go to “Pages”
  2. Locate the page you want to customize and click on “edit”
  3. Click on “edit with elementor”

How to remove header and footer in WordPress page

 

Step 3: 

  1. After you’ve opened the relevant page in elementor, click on the “hamburger” icon in the upper left corner of the screen.                                                                       How to remove header and footer in WordPress page
  2. Navigate to Site settings>Layout 
  3. Select ” Elementor canvas” and it’ll remove header and footer from the page.  How to remove header and footer in WordPress page

2) Remove header and footer with wordpress theme options

You can remove header and footer utilizing theme options. This method is theme specific and does not work with all the themes. But nothing to worry. Most common and widely used themes offer this additional feature like WP Oceans, Astra etc.

There are two ways to check if the particular theme you’re using offers this feature or not.

Firstly,

Go to Appearance->Customize. Look for the options in left sidebar to hide header and footer.

(In this case Astra)

How to remove header and footer in WordPress page

If you don’t find any option then your theme does not support removing header and footer.

Secondly,

  1. Go to “pages” .. hover over the relevant page and click on “edit”.
  2. Locate theme settings in upper right corner of the screen.
  3. Look for the options to disable header and footer.    How to remove header and footer in WordPress page

3) Remove header and footer with Custom CSS code

If your theme does not support removing header and footer in wordpress page and you do not want to use page template then you can go for this method of using custom codes. It does not require you to have potential grasp upon coding. You’ll just have to copy & paste the codes using following steps:

  1. Go to “Appearance” ->customize
  2. Locate Additional CSS in right sidebar
  3. Copy this code and paste in Additional CSS
header , footer {
  display: none;
}

This action will remove header and footer from all over the site.

Remove header and footer on specific page using CSS code

If you want to remove header and footer from a particular page, you can do this going along with the steps mentioned below:

  1. Find the Page ID
  2. Add CSS Code

1.Finding Page ID

  1. To remove header and footer on specific page you’ll have to find page ID using following way:
  2. Log in to WordPress dashboard.
  3. Go to Pages. Select page you need the ID for and open it.                                       How to remove header and footer in WordPress page

You’ll find page ID display in the URL of that page in browser address bar.

How to remove header and footer in WordPress page

 

 

2.Add CSS Code

  1. After finding the page ID, navigate to wordpress dashboard->appearance->customize
  2. Locate Additional CSS and paste the below mentioned code there putting your page ID inside  the code.
// 206 is the page id, you can change it and enter your own page ID
.page-id-206 header, .page-id-206 footer {
    display: none !important;
}

If you want to remove only header or only footer , copy the following code accordingly.

// 206 is the page id, you can change it and enter your own page ID
.page-id-206 header{
    display: none !important;
}
.page-id-206 footer {
    display: none !important;
}

Conclusion

In this article, we have explored the importance of headers and footers in WordPress website layout, as well as the reasons why you may need to remove them on specific pages. We have discussed various methods to achieve this, including using page builders, theme options, custom CSS code.

Explore the different methods mentioned above and choose the one that best suits your needs and technical expertise.

FAQs.

Can I remove only header/footer from a specific page?

Yes, you can remove only header or only footer from a page in wordpress using CSS code.

How do I create a page without header and footer in WordPress?

Select the template in the WordPress page editor. Select Page Attribute “Template” as “Template without Header / Footer / Sidebar” from Template’s drop-down list, in place of “Default Template”.

Can I add custom header and footer in WordPress page?

Yes! You can add custom header and footer matching your site needs using custom CSS code.

1 thought on “How to Remove Header and Footer in WordPress page”

  1. Pingback: How To Hide Page Title In WordPress ( 3 Easy Ways )

Comments are closed.