How to use Header Templates in WordPress

How to Use a Header Template in WordPress

Customizing a WordPress header isn’t often an easy process. If you’re not comfortable editing theme files, there aren’t many ways that you can change the way a header looks outside of switching themes.

Fortunately, you can use a Beaver Themer header template in WordPress to easily adjust your theme header’s appearance. Choose from a selection of customizable header layout templates and use them for any website. 

In this article, we’ll talk about how header templates work and why you might want to modify yours. We’ll also show you how to use templates with Beaver Themer. Let’s get to it!

What Are WordPress Header Layout Templates?

Newer versions of WordPress enable you to modify theme template files using the Block Editor. This is called Full Site Editing; however, this feature is still pretty limited.

If you want better control over your header’s appearance, you might consider using header layout templates instead. These templates come with our Beaver Themer add-on and enable you to switch header styles almost immediately.

Using header layout templates in Beaver Themer

Beaver Themer is an add-on plugin for Beaver Builder that lets you modify theme template files and access full site editing using the page builder editor. Moreover, Beaver Themer is fully tested and functional, whereas WordPress’s full site editing is still in beta and not fully stable.

On top of getting access to templates, our tool gives you a great degree of control over how the header functions. You can use Beaver Themer to create sticky headers, configure overlays, and design unique elements for specific pages.

How to Use a Header Template In WordPress (In 3 Easy Steps)

To access header template layouts, you’ll need to use Beaver Themer. This add-on plugin for Beaver Builder lets you customize theme templates, template parts, and more. To give Beaver Themer a try, you can use our Beaver Themer demo site.

Keep in mind you’ll also need to use a theme compatible with Beaver Themer. The Beaver Builder Theme is the best choice if you want to use our page builder to customize multiple aspects of your website. Otherwise, you might want to check out our guide to the best Beaver Builder themes.

Step 1: Add a New Themer Layout and Configure Its Rules

After installing and activating Beaver Themer, you’ll see several new options appear in your WordPress dashboard. These include Themer Layouts and Templates.

To add a new Themer layout, go to Beaver Builder > Themer Layouts and click on Add New:

In the next screen, set a title for the template and select Themer Layout under the Type menu. For the Layout menu, select the Header option:

Add Beaver Themer header layout

Click on Add Themer Layout and proceed to the next screen. Here you can configure some of the layout’s behavior.

Enabling the Sticky option means the header will remain visible as visitors scroll down each page. The Overlay setting works similarly, but it adds a level of transparency to the header:

Configuring the sticky and overlay settings for the header template

The Location settings let you add location Rules for the header. That means you can choose on which page(s) this header template will appear:

Configuring the header's location

If you want the new header design to appear on all pages, select the Entire Site option. Alternatively, you might use separate header templates for different parts of your website.

Finally, the Rules settings configure specific parameters that must be met for the header to appear. For example, you might display the template for only logged-in users. This setting can come in handy if you want to lead registered users to private parts of your website:

Configuring rules for new header templates

If you want to make your header template appear on all pages for all users, select the Entire Site option under Location, and don’t add any further rules. Finally, when you’re done with these settings, click on the Launch Beaver Builder button at the top of the page to open up the editor.

Step 2: Select a Header Template

Once you launch the Beaver Builder editor, you’ll see the default header layout template automatically populates for your. Here’s what it looks like:

Beaver Themer default header layout template

The default header template includes two rows — one with contact information and links to social media and the other with space for your website title and main navigation menu.

To change this template, click on the plus icon in the top-right corner of the screen. Go to the Templates tab and look at the options inside. Beaver Builder includes five header layout templates, one of which you’re using right now.

Select any template, and Beaver Builder will ask if you want to replace the current layout or append it to the existing design. Select the first option:

Replacing a header template layout in Beaver Builder

Every header template has a different design and layout. Here’s another example from the Beaver Builder header template options:

A Beaver Builder menu template

Once you select a template, you can modify any of its modules. That means you can use the template as a starting point to help you quickly create the header you want for your website. Simply swap out the content with your own.

Step 3: Customize Your Header Layout Template

Since we’re using Beaver Builder to edit your header layout, you can easily update or swap out any of the modules you see here. In addition, you can modify any other aspect of the header’s layout and style.

For example, if the header template you’re using has a text heading, you can modify its text, size, color, and font, among other options. To do this, select the module, and its settings menu will open:

Editing a menu header in Beaver Builder

Every element in the header layout corresponds to a Beaver Builder module. For instance, if you select the Menu element, Beaver Builder will let you choose from existing menus on your site, change their orientation, use an accordion, add a logo, and more:

Editing a menu in Beaver Builder

Note that if you don’t see any available menus to choose from here, you will first need to create one in the WordPress dashboard by going to Appearance > Menus.

Another useful element found in most Beaver Themer header templates is the collection of social media icons. We include these icons using the Icon Group module since most modern websites use social media for marketing purposes.

The Icon Group module enables you to change the icons for each platform, rearrange them, and remove elements you don’t need:

Editing social media icons in Beaver Themer

Before you finish customizing the header layout, remember you can add other Beaver Builder modules and rows to it. This process works the same as editing any page or post using our builder.

For example, you can add a Search module to the header if you’re using a template that doesn’t include one by default:

A Beaver Themer header template with a search bar

When you’re happy with the header’s design, click on Done and then Publish. That’s it!

If you set up the header to appear for the entire website, you should see the change right away. Otherwise, you’ll need to navigate to the page in question to see your new header.

Conclusion

With Beaver Themer, you can choose from a selection of header layout templates and use them for any website. Every template is fully customizable, and the process is very straightforward especially if you’re already familiar with Beaver Builder.

If you want to use and edit header layout templates on your WordPress site, you’ll need our Beaver Themer add-on. Once you activate the add-on, just follow these three easy steps:

  1. Add a new Themer layout and configure its rules.
  2. Select a header template or create one from scratch.
  3. Customize your header layout template.

Related Questions

Do I Need Beaver Themer to Use Header Layout Templates?

Beaver Builder includes a broad collection of page templates you can use throughout your website. However, you’ll need Beaver Themer to edit theme templates for headers, footers, and other elements.

Does Beaver Themer Work Like Full Site Editing?

Both Beaver Themer and Full Site Editing enable you to edit theme templates. With Full Site Editing, you can edit and customize these elements using WordPress blocks. On the other hand, Beaver Themer lets you edit theme templates and parts with Beaver Builder modules. Additionally, Beaver Themer offers a collection of templates you can use to kickstart designs.

How Do You Add a Header and Footer to a WordPress Theme?

With Beaver Themer, you can choose from various header and footer templates. Our theme-building tool comes with attractive and user-friendly headers and footers, which you can edit to match your website’s design. Then, you don’t have to worry about manually editing your theme files and potentially breaking them.

It would be totally gnaw-some if you could share this post with your friends.

About Will Morris

Will Morris is a staff writer at WordCandy. When he's not writing about WordPress, he likes to gig his stand-up comedy routine on the local circuit.

Our Newsletter

Our newsletter is personally written and sent out about once a month. It's not the least bit annoying or spammy.
We promise.

Try Beaver Builder Today

It would be totally gnaw-some if you could share this post with your friends.

Related articles

How to customize WordPress Website Header

How to Customize WordPress Website Header

Many elements make up a well-designed website. Your WordPress website header is particularly important because it’s the first thing visitors…

Read More...
How to create a WordPress Author Page with Beaver Themer

How to Create a WordPress Author Page with Beaver Themer (In 5 Steps)

If you have multiple contributors to your blog, readers might want to find a full list of posts by a…

Read More...

How to Create a Sticky Header with Beaver Themer (In 4 Easy Steps)

Are you wondering how to create a sticky header on your WordPress site? Sticky headers keep your website’s navigation easily…

Read More...

Join the community

We're here for you

There's a thriving community of builders and we'd love for you to join us. Come by and show off a project, network, or ask a question.

Since 2014

Build Your Website in Minutes, Not Months

Join Over 1 Million+ Websites Powered By Beaver Builder.