Paramclasses Academy - Blog

Tutorials Details

←
Post 15 of 40
→

How to Create a Website Header and Footer in WordPress ?

How to Create a Website Header and Footer in WordPress ?

November 16, 2026

1. Introduction

A website header and footer are two essential components of a professional website.

The header appears at the top of the website, while the footer appears at the bottom. Both sections help visitors navigate the website, identify the brand, and access important information.

A professional header generally contains:

  • Website logo.

  • Website name.

  • Navigation menu.

  • Search option.

  • Important buttons.

  • Contact information.

A professional footer generally contains:

  • Company information.

  • Quick navigation links.

  • Contact details.

  • Social media links.

  • Copyright information.

  • Privacy Policy and Terms and Conditions.

In this tutorial, you will learn how to create and customize both sections using WordPress.

2. What Is a Website Header?

A website header is the top section of a website that usually appears across multiple pages.

It helps visitors identify the website and access its main navigation.

Common Header Elements

  1. Logo

  2. Site title

  3. Navigation menu

  4. Search icon

  5. Contact button

  6. Login or account link

Example Header Structure

--------------------------------------------------
| LOGO      HOME  ABOUT  COURSES  BLOG  CONTACT  |
--------------------------------------------------

For the Param Classes educational website, a suitable header could contain:

  • Param Classes logo.

  • Home.

  • About Us.

  • Courses.

  • Tutorials.

  • Blog.

  • Contact Us.

3. What Is a Website Footer?

A website footer is the bottom section of a website.

It generally contains secondary navigation, business information, contact details, and legal links.

Common Footer Elements

  1. Website logo.

  2. About the company.

  3. Quick links.

  4. Contact information.

  5. Social media links.

  6. Copyright text.

  7. Privacy Policy.

  8. Terms and Conditions.

Example Footer Structure

----------------------------------------------------
| ABOUT PARAM      QUICK LINKS       CONTACT US    |
| Company Info     Home               Email         |
| Our Mission      Courses            Phone         |
| Our Services     Tutorials          Address       |
|                  Blog               Social Links  |
----------------------------------------------------
| Copyright © 2026 Param Classes. All Rights Reserved |
----------------------------------------------------

A good footer makes important information accessible without overcrowding the page.

4. Understanding Header and Footer in WordPress

WordPress supports two major theme approaches.

4.1 Block Themes

Block themes use the WordPress Site Editor to manage the overall website design.

You can edit:

  • Header.

  • Footer.

  • Templates.

  • Navigation.

  • Global styles.

  • Template parts.

To access the Site Editor:

  1. Log in to your WordPress dashboard.

  2. Open Appearance.

  3. Click Editor.

  4. Open the website design interface.

Important: The Site Editor is available when a compatible block theme is active.

Read the official WordPress Site Editor documentation to understand its interface and available features.

4.2 Classic Themes

Classic themes generally provide header and footer customization through:

  • Appearance → Customize.

  • Appearance → Menus.

  • Appearance → Widgets.

  • Theme-specific settings.

  • PHP template files.

The exact options depend on the active theme.

For theme development concepts, refer to the WordPress Theme Developer Handbook.

5. Understanding Template Parts

A template part is a reusable section of a website layout.

For example:

  • Header template part.

  • Footer template part.

  • Sidebar template part.

Instead of designing the same header separately on every page, WordPress allows you to create one reusable header and include it in multiple templates.

Example

Website
│
├── Header Template Part
│   ├── Logo
│   ├── Site Title
│   └── Navigation
│
├── Page Content
│
└── Footer Template Part
    ├── About Information
    ├── Quick Links
    └── Contact Details

When you update a shared template part, the changes appear wherever that template part is used.

Learn more in the official WordPress Template Part documentation.

6. How to Create a Header Using the WordPress Site Editor

Let's create a professional header using a block theme.

Step 1: Open the WordPress Dashboard

Log in to your WordPress administration area.

Example:

http://localhost/paramclasses/wp-admin

Enter your username and password.

Step 2: Open the Site Editor

Navigate to:

Dashboard → Appearance → Editor

The Site Editor will open.

Step 3: Open Header Template Part

  1. Open Patterns.

  2. Find Template Parts.

  3. Select Header.

  4. Choose the header you want to edit.

Depending on your WordPress version and theme, you may also select the header from the homepage preview or List View.

Step 4: Add or Change the Website Logo

The Site Logo block displays your website logo.

Steps:

  1. Click the existing logo or insert a Site Logo block.

  2. Select an image from the Media Library.

  3. Upload your logo if it is not available.

  4. Adjust the logo dimensions.

  5. Check its alignment.

For Param Classes, use the original logo and maintain its correct proportions.

Step 5: Add the Site Title

If required, insert the Site Title block.

Steps:

  1. Click the + block inserter.

  2. Search for Site Title.

  3. Add the block.

  4. Adjust typography.

  5. Set its alignment.

You can use the logo alone or combine the logo and site title depending on your design.

Step 6: Add a Navigation Menu

The Navigation block displays links to important website pages.

Steps:

  1. Select the Header template part.

  2. Click the + block inserter.

  3. Search for Navigation.

  4. Add the Navigation block.

  5. Create a new menu or select an existing menu.

  6. Add the required pages.

  7. Arrange the menu items.

For Param Classes, add:

  • Home

  • About Us

  • Courses

  • Tutorials

  • Blog

  • Contact Us

You can learn the complete process in the official WordPress Navigation Block guide.

Step 7: Add a Contact Button

You can add a Buttons block to the header.

Example:

Contact Us

Steps:

  1. Select the header container.

  2. Insert a Buttons block.

  3. Add a Button block inside it.

  4. Enter the text Contact Us.

  5. Add the correct contact page URL.

  6. Customize its color and appearance.

Step 8: Customize Header Layout

Use Group, Row, or other layout blocks to organize the header.

A common arrangement is:

------------------------------------------------
| Logo       Navigation Menu        Contact Us |
------------------------------------------------

Adjust:

  • Horizontal alignment.

  • Vertical alignment.

  • Spacing.

  • Padding.

  • Background color.

  • Typography.

  • Border settings.

Step 9: Save the Header

Click Save in the top-right corner.

Review the changes listed in the save panel and confirm the relevant template part or navigation changes.

Your header will now appear wherever the edited template part is used.

7. How to Create a Footer Using the WordPress Site Editor

Now let's create a professional footer.

Step 1: Open the Site Editor

Navigate to:

Dashboard → Appearance → Editor

Step 2: Open Footer Template Part

  1. Click Patterns.

  2. Open Template Parts.

  3. Select Footer.

  4. Choose the footer layout you want to customize.

Step 3: Add a Group or Columns Layout

A Group or Columns block helps organize footer content.

For example, create a three-column footer.

------------------------------------------------
| ABOUT PARAM    QUICK LINKS      CONTACT       |
| Company Info   Home             Email         |
| Our Mission    Courses          Phone         |
| Our Services   Tutorials        Address       |
------------------------------------------------

Step 4: Add Footer Headings

Insert a Heading block in each footer column.

Example headings:

  • About Param Classes

  • Quick Links

  • Contact Information

Step 5: Add About Information

Insert a Paragraph block.

Example:

Param Classes provides educational tutorials
and practical learning resources for students
and aspiring developers.

Use accurate company information on your actual website.

Step 6: Add Quick Links

Insert a List block or Navigation block.

Add links such as:

  • Home

  • About Us

  • Courses

  • Tutorials

  • Blog

  • Contact Us

Make sure every link points to the correct published page.

Step 7: Add Contact Information

Insert Paragraph blocks or suitable blocks for:

  • Email address.

  • Phone number.

  • Business address.

Only display verified contact details.

Step 8: Add Social Media Links

WordPress provides a Social Icons block.

Steps:

  1. Click the + block inserter.

  2. Search for Social Icons.

  3. Insert the block.

  4. Select the required social network.

  5. Enter the correct profile URL.

  6. Adjust the icon style and alignment.

Do not add social profiles that your organization does not actually use.

Step 9: Add Copyright Information

Insert a Paragraph block at the bottom of the footer.

Example:

Copyright © 2026 Param Classes. All Rights Reserved.

You can also include Privacy Policy and Terms and Conditions links.

Step 10: Customize Footer Design

Customize:

  • Background color.

  • Text color.

  • Heading typography.

  • Column spacing.

  • Padding.

  • Borders.

  • Social icon styles.

  • Alignment.

Keep the footer readable and visually consistent with the website.

Step 11: Save the Footer

Click Save and confirm the changes.

Your footer is now ready.

For additional guidance, follow the WordPress footer editing guide.

8. How to Create a Header and Footer Using a Classic Theme

Not every WordPress theme uses the Site Editor.

If your dashboard displays Appearance → Customize instead of Appearance → Editor, you may be using a classic theme.

Method 1: Customize the Header

  1. Open Dashboard.

  2. Navigate to Appearance → Customize.

  3. Look for Header, Site Identity, or Header Builder.

  4. Upload or select your logo.

  5. Configure the site title and tagline.

  6. Select the navigation menu.

  7. Adjust header colors and layout.

  8. Click Publish.

The exact settings depend on the theme.

Method 2: Create a Navigation Menu

  1. Open Appearance → Menus, if available.

  2. Click Create a New Menu.

  3. Enter a menu name.

  4. Select the pages you want to include.

  5. Click Add to Menu.

  6. Arrange the menu items.

  7. Select the theme location for the menu.

  8. Save the menu.

Some classic themes manage menus through Appearance → Customize → Menus instead.

Refer to the WordPress Menu Management documentation for the traditional menu interface.

Method 3: Customize the Footer

Depending on your theme, open:

Appearance → Customize → Footer

Or:

Appearance → Widgets

If the theme provides footer widget areas, you can add:

  • Text widgets.

  • Navigation menu widgets.

  • Social links.

  • Contact information.

  • Custom HTML.

Some themes provide a dedicated footer builder. Follow the theme's documentation if available.

For widget management, see the official WordPress Widgets guide.

9. How to Create a Responsive Header and Footer

A professional website must work on desktop, tablet, and mobile devices.

Responsive Header Requirements

  • Logo should fit within the available width.

  • Navigation should remain accessible.

  • Mobile menu should be easy to open.

  • Contact buttons should not overflow.

  • Header content should not overlap.

  • Text should remain readable.

Responsive Footer Requirements

  • Columns should stack when screen space becomes limited.

  • Contact information should remain readable.

  • Social icons should have sufficient spacing.

  • Links should be easy to tap.

  • No horizontal scrolling should occur.

Example Responsive CSS

The following example demonstrates a basic custom layout. It is not a replacement for your theme's existing header and footer styles.

/* Header layout */
.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

/* Footer layout */
.custom-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 40px 20px;
}

/* Tablet layout */
@media (max-width: 768px) {
    .custom-footer {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile layout */
@media (max-width: 480px) {
    .custom-header {
        flex-wrap: wrap;
    }

    .custom-footer {
        grid-template-columns: 1fr;
    }
}

CSS Explanation

display: flex;

Arranges header elements in a flexible row.

justify-content: space-between;

Places available space between header elements.

align-items: center;

Aligns header elements vertically.

display: grid;

Creates a grid-based footer layout.

grid-template-columns: repeat(3, 1fr);

Creates three equal-width footer columns.

@media (max-width: 768px)

Changes the footer to two columns on smaller screens.

@media (max-width: 480px)

Changes the footer to one column on mobile screens.

The class names in this example are illustrative. Your theme may use different selectors and layout structures.

10. Important WordPress Blocks for Header and Footer

The following blocks are useful when designing a website header and footer.

Site Logo Block

Displays the website logo.

Site Title Block

Displays the website name.

Navigation Block

Displays menus and navigation links.

Search Block

Allows visitors to search website content.

Buttons Block

Displays important calls to action.

Social Icons Block

Displays links to social media profiles.

Columns Block

Organizes content into multiple columns.

Group Block

Combines multiple blocks into one section.

Paragraph Block

Displays text and contact information.

Heading Block

Displays section titles.

Site Tagline Block

Displays the website tagline.

You can explore these blocks in the official WordPress Block Editor documentation.

11. Common Header and Footer Problems

Problem 1: Header Changes Are Not Visible

Possible reasons:

  • Changes were not saved.

  • Browser cache is showing an older version.

  • A caching plugin is serving old content.

  • You edited a different header template part.

Solution:

  1. Confirm that the changes were saved.

  2. Refresh the website.

  3. Clear relevant caches.

  4. Check the correct template part.

Problem 2: Navigation Menu Is Not Displaying

Possible reasons:

  • No menu is assigned.

  • The Navigation block is missing.

  • The selected menu has no items.

  • The theme uses a different menu location.

Solution:

  1. Open the header editor.

  2. Select the Navigation block.

  3. Choose the correct menu.

  4. Add the required links.

  5. Save changes.

Problem 3: Logo Appears Too Large

Solution:

  1. Select the Site Logo block or theme logo setting.

  2. Adjust its dimensions.

  3. Check its proportions.

  4. Preview on mobile.

  5. Save changes.

Problem 4: Footer Columns Are Overlapping

Possible reasons:

  • Fixed-width settings.

  • Incorrect spacing.

  • Custom CSS conflicts.

  • Theme-specific responsive settings.

Solution:

  1. Inspect the footer layout.

  2. Use flexible Group, Row, or Columns blocks.

  3. Check mobile preview.

  4. Remove unnecessary fixed widths.

  5. Test again.

Problem 5: Footer Does Not Appear on Every Page

Possible reasons:

  • The page uses a different template.

  • The footer template part is missing from that template.

  • A custom page builder controls the layout.

Solution:

Check the relevant page template and confirm that it includes the required footer template part.

12. Best Practices for Professional Header and Footer Design

Follow these practices:

  1. Use the same branding across the website.

  2. Keep the header simple and easy to navigate.

  3. Display only important navigation links.

  4. Use a recognizable logo.

  5. Maintain consistent typography.

  6. Use accessible color contrast.

  7. Make mobile navigation easy to operate.

  8. Keep footer content organized.

  9. Avoid excessive social media icons.

  10. Use accurate contact information.

  11. Test every navigation link.

  12. Keep copyright and legal information updated.

  13. Avoid unnecessary animations.

  14. Check the design on real devices.

  15. Keep header and footer code maintainable.

13. Practical Assignment: Create a Param Classes Header and Footer

Now create a complete header and footer for your Param Classes practice website.

Header Requirements

Create a header containing:

  • Original Param Classes logo.

  • Home.

  • About Us.

  • Courses.

  • Tutorials.

  • Blog.

  • Contact Us.

  • A clearly visible contact or enrollment button.

Footer Requirements

Create a footer containing four sections:

Section 1: About Param Classes

Add a short and accurate description of the organization.

Section 2: Quick Links

  • Home.

  • About Us.

  • Courses.

  • Tutorials.

  • Blog.

Section 3: Important Links

  • Privacy Policy.

  • Terms and Conditions.

  • Contact Us.

Section 4: Contact Information

Add verified email, phone, and address information.

Design Requirements

  • Use a consistent color palette.

  • Maintain proper spacing.

  • Keep typography readable.

  • Use a responsive layout.

  • Ensure all links work.

  • Check the design on mobile and desktop.

Expected Result

You should have a professional website header and footer that appear consistently across the website and provide visitors with clear navigation and useful information.

14. Final Checklist

Before completing your work, verify the following:

  • Website logo is visible.

  • Site title is correct.

  • Navigation menu is working.

  • Contact button opens the correct page.

  • Header layout is responsive.

  • Footer contains the required information.

  • Social media links are correct.

  • Privacy Policy link works.

  • Copyright text is updated.

  • Footer columns display correctly on mobile.

  • Changes are saved.

  • Header and footer appear on the intended pages.

15. Frequently Asked Questions

Q1. What is a website header?

A header is the top section of a website that usually contains the logo, site title, navigation menu, and important links.

Q2. What is a website footer?

A footer is the bottom section of a website that usually contains company information, quick links, contact details, and copyright information.

Q3. Can I create a header without coding?

Yes. You can use the WordPress Site Editor or a theme's header builder.

Q4. Can I create a footer without coding?

Yes. Block themes and many classic themes provide visual footer customization options.

Q5. What is a template part?

A template part is a reusable section of a website, such as a header or footer, that can be included in multiple templates.

Q6. What is the WordPress Site Editor?

The Site Editor is a block-based interface for customizing supported WordPress themes, including headers, footers, templates, and global styles.

Q7. Can I change my header and footer separately?

Yes. Header and footer are generally managed as separate template parts or theme customization areas.

Q8. What is the Navigation block?

The Navigation block displays a website menu and allows you to organize navigation links.

Q9. Can I add social media icons to the footer?

Yes. You can use the Social Icons block in a block theme or an appropriate theme feature or widget in a classic theme.

Q10. What is a footer widget?

A footer widget is a content area provided by some classic themes where you can add text, links, menus, and other widgets.

Q11. Why is my Appearance → Editor option missing?

Your active theme may be a classic theme. The Site Editor requires a compatible block theme.

Q12. Can I use different headers on different pages?

Yes. With supported block themes, you can create different header template parts and assign them to different templates.

Q13. Can I use different footers on different pages?

Yes. Supported themes allow different footer template parts to be used in different templates.

Q14. How do I make a header mobile-friendly?

Use a responsive layout, a suitable mobile navigation menu, readable typography, and appropriate spacing.

Q15. Why is my logo appearing incorrectly?

The image dimensions, theme settings, block width, or image proportions may be causing the issue.

Q16. Can I add a search box to the header?

Yes. Insert the Search block in a supported block theme or use the relevant theme feature.

Q17. Should I put every website link in the footer?

No. Include useful secondary links without overcrowding the footer.

Q18. What is the difference between a header and a navigation menu?

The header is the complete top section of a website. A navigation menu is one component that can appear inside the header.

Q19. Do header and footer changes affect every page?

Changes to a shared template part generally affect every template that uses it. A page using a different template may have a different header or footer.

Q20. Can I customize header and footer using CSS?

Yes. Custom CSS can adjust appearance and responsive behavior, but selectors must match your theme's actual markup.

16. Conclusion

A professional website header and footer improve navigation, branding, usability, and the overall website experience.

WordPress provides different ways to create them depending on whether you use a block theme or a classic theme.

By learning the Site Editor, template parts, Navigation block, widgets, and responsive design, you can build consistent header and footer layouts without depending entirely on custom code.

Complete the Param Classes practical assignment to apply these concepts to a real WordPress project.

←
Post 15 of 40
→