Custom Headers and Footers With the Site Editor
A site’s header and footer shape how visitors move through it, providing navigation and useful links across pages.
In WordPress, the Site Editor lets site owners customize these shared areas to fit their design and make key information easier to find.
Understanding how header and footer template parts work makes it easier to create a consistent, practical experience across the site.
Find Header and Footer Template Parts
To find the header and footer template parts, open the Site Editor and use its navigation to find template parts. Choose the header or footer to edit.
Depending on your theme, you may see separate headers and footers, or parts with different names.
Find the right part
- Look through the list and check each item’s name and preview.
- Select a header or footer to open its details and confirm what it contains.
- If you don’t see the part you need, check that you’re viewing the correct theme and that the theme includes that template part.
These Template part locations can vary between themes, so don’t assume every site uses the same names or structure.
Use the list to identify the part before making changes. For clear template part management, keep track of which part belongs to each template, especially when your theme offers several options.
You can return to Patterns whenever you need to review the available parts.
Customize Header Layout and Branding
Use the Site Editor to adjust your header layout, moving or resizing elements to fit your needs.
Add your logo so visitors can recognize your site, then refine your brand colors for a consistent look.
Adjust Header Layout
Start by arranging the header’s blocks, then add your site title or logo so visitors can identify your site. Open Appearance → Editor, find Template Parts, and select your header to edit.
Use the block toolbar to move navigation, search, or other existing blocks into a clear order. Keep the most-used links easy to find, and avoid crowding the header with extras.
Adjust header spacing and alignment
Select a block, then use the settings panel to adjust its spacing, alignment, or width. Adjust header spacing by changing padding or margins in small steps, then preview the result on different screen sizes.
To align header elements, use the parent Row or Group block’s layout controls. Check that the navigation doesn’t wrap awkwardly on narrow screens, and save when the layout feels balanced. You can always return and fine-tune it.
Add Your Logo
Once the header layout feels balanced, add your site’s logo so visitors can recognize your brand. In the Site Editor, select the logo area, then choose the option to upload or select an image from your Media Library. Pick a clear file that stays readable at the size shown in your header. Your logo design should work well in a compact space, and your brand mark shouldn’t include tiny details that disappear on mobile screens.
| Check | What to do |
|---|---|
| File | Choose a sharp image |
| Size | Preview it on mobile |
After adding the image, use the editor’s width controls to fit it beside your navigation. Don’t stretch the logo; adjust its width while keeping its proportions. Add alternative text that names your site or describes the logo, unless nearby text already gives the same information. Preview the header on desktop and mobile, then save your changes.
Refine Brand Colors
With your logo in place, refine the header’s colors so they support your brand and keep text easy to read.
In the Site Editor, select the header, then open the Styles or color settings. Choose a background color that works with your logo, and set text and link colors that stand out clearly.
Check buttons, menus, and hover states too, since visitors need to see where they can click. Accessible color contrast helps people read your header, including visitors with low vision.
Preview the design on desktop and mobile, and adjust any color that blends into its background.
Save your changes when the palette feels consistent. You can also try seasonal color palettes for a short-term update, but keep your main brand colors in place so the site still feels familiar.
Add Navigation and Social Links to Your Header
To help visitors find their way around your site, add a Navigation block to the header, then include Social Icons if you want to link to your profiles.
In the Site Editor, select the header area and choose the inserter. Add Navigation, then create or select a menu. Use the block toolbar to add pages, arrange links, and set a clear menu label.
Preview your header on mobile, too, and check that the menu remains easy to open and use.
Add Social Icons beside your navigation, choose the platforms you use, and enter each profile URL. For Social icon accessibility, give links clear labels and avoid relying on icons alone.
If you track visits, check your external link tracking settings and disclose tracking where required. Remove any profile you no longer maintain, so visitors don’t reach outdated pages.
Save your changes and test every link.
Build a Footer With Useful Links
Choose essential links, such as contact details, privacy information, and key pages. In the Site Editor, arrange them into clear footer columns so visitors can find what they need.
Add social links if you want visitors to connect with you elsewhere.
Choose Essential Links
A useful footer helps visitors find important pages without crowding the bottom of your site. Start by listing the tasks people need to complete, such as contacting you, finding store hours, or reviewing a return policy. Choose links that support those tasks, rather than adding every page on your site.
Use Essential link hierarchy to rank links by importance. Put high-priority pages, such as Contact, Help, or About, ahead of less-used resources.
Your audience focused navigation should reflect what visitors come to do, not just how your site is organized.
In the Site Editor, open your footer template part and add a Navigation block. Select an existing menu or create one, then add only your chosen pages. Use clear labels, check each link, and preview the footer on desktop and mobile.
Remove links that don’t help visitors take a useful next step.
Organize Footer Columns
Once you’ve picked the footer links, group related ones into columns so visitors can scan them quickly.
In the Site Editor, open your footer template part and select the block that holds your links. Add a Columns block, then move each link group into its own column. For example, place company pages together and help resources in another column.
Keep each group short, and use a heading that tells visitors what they’ll find. Choose accessible footer labels, such as “Get Help” instead of a vague label like “More.”
Make headings clear in the block settings, and don’t rely on color alone to show how items relate.
Check footer column spacing on desktop and mobile. Leave enough room between groups to prevent a crowded look, but make sure the columns stack neatly on small screens.
Preview the footer before saving.
Add Social Links
Add social links to help visitors find your active profiles without crowding the footer.
In the Site Editor, open your footer template part and select the Social Icons block. Add an icon for each platform you use, then enter the matching profile URL. Preview every link to confirm it opens the right page.
Choose platform specific social icons so visitors can recognize each service at a glance. Remove icons for inactive accounts, and avoid adding platforms just to fill space.
You can drag icons to set their order, placing the profiles you use most first.
Balance social link visibility with your other footer content. Keep icons easy to spot, but don’t let them compete with key links, such as contact details or privacy information.
Check the footer on mobile, too, and adjust spacing if the icons feel cramped.
Style Header and Footer Template Parts
With the Site Editor, you can style header and footer template parts to match your site’s design, then reuse them across pages.
Use the Site Editor to style header and footer template parts, then reuse them consistently across your pages.
Style each template part
- Open Appearance → Editor, find Template Parts, and select the header or footer to edit.
- Select a block, such as your site title, navigation, or social links. Use the settings sidebar to adjust its text, color, background, and alignment.
- Set Header typography to suit your site, keeping titles and links easy to read. Use spacing controls to adjust padding and block gaps, so elements don’t feel crowded.
- Select the outer Group or Row block to style the whole area. Add a background color or border, then check that the content has enough contrast.
- Click Save and confirm the template part changes.
Keep header and footer styles consistent, but give each a clear purpose. You can reopen either part whenever you need to refine it.
Check Header and Footer on Mobile
How does your header and footer look on a phone? Check them at a narrow screen size, where space is limited and text can wrap in unexpected ways. In the Site Editor, use the device preview controls to inspect the mobile layout.
Look for practical issues
Make sure your logo and site title fit without crowding other items. Check that the menu opens and closes easily, and that links have enough space to tap. Good mobile menu accessibility means visitors can find and use navigation with different needs and devices.
Review responsive typography, too. Headings, labels, and footer text should stay readable without taking over the screen. If a line breaks awkwardly, adjust its size or spacing in the template part. Check that important links remain visible, and that the footer doesn’t stack into a confusing block. Test menus with a keyboard as well as touch, so you can spot focus or navigation problems.
Preview and Save Header and Footer Changes
Before you save, preview the header and footer in the Site Editor to make sure your changes work across the site.
Preview your header and footer throughout the site before saving to ensure every page looks right.
Open the preview and check several pages, not just the home page. Confirm that your logo, navigation, spacing, and footer links appear as expected, and test any buttons or menus.
Preview responsive changes
Switch between desktop, tablet, and mobile previews. Look for text that wraps awkwardly, items that overlap, or controls that are hard to tap.
If something looks wrong, return to the editor and adjust the layout before saving.
Save and review
When everything looks right, select Save and confirm the header or footer changes listed in the panel.
Visit your site in a separate tab to check the result. If you spot a problem, reopen the editor and restore revisions to return to an earlier version.
Then preview again before saving.
Frequently Asked Questions
Can I Use Different Headers and Footers on Different Pages?
Yes, you can use Page Specific Header Variations and Conditional Footer Designs, depending on your theme or plugins. You’ll need templates, display conditions, or custom code to show different headers and footers on selected pages.
Can I Restore a Header or Footer to Its Original Design?
Yes—you can restore a header or footer’s original design. Like turning back time, choose “Restore a header design” or “Reset a footer layout” in the Site Editor’s options, then confirm to undo your changes.
What Happens to My Custom Headers and Footers if I Change Themes?
Theme switch effects vary: your custom headers and footers may not carry over because each theme uses different templates and styles. For design preservation, save your customizations first; you can restore them if needed.
Can I Create a Custom Header or Footer Without Coding?
Yes, you can create custom headers and footers without coding. Use your site editor’s visual tools for No code header customization and explore footer design options, such as layouts, colors, menus, and widgets, then save your changes.
How Do I Troubleshoot Missing or Unavailable Template Parts?
To find unavailable template parts, open Appearance → Editor and confirm your active theme supports them; in a 2020 Sucuri survey, 75% of responding web professionals said they handled CMS and component updates for clients. Updates are useful maintenance, but they do not prove why a template part is missing. Troubleshoot missing patterns by updating WordPress, switching themes, and restoring backups.
- Custom Footers
- Custom Headers
- Site Editor
About the author
Vladimir Mrkela
Senior WordPress Developer
I’m a senior WordPress developer and co-founder of Pixel Industry. I’ve spent more than 12 years building websites, custom plugins, and integrations for all kinds of projects. I enjoy working on complex architecture, solving tricky problems, and sharing what I learn along the way.