How to customize WordPress website header?

Designing a beautiful banner on a WordPress website (Banner) is a great way to showcase the culture of your website. It makes navigation easier and improves the aesthetics of your website from a design perspective.

Many themes come with pre-designed headers, or you can customize them, for example:

  • Add Social Media Links
  • Add drop-down menu
  • Add Search Options

via WordPressFull Site Editorfunction, you can use theBlock EditorCreate professional headers without writing custom code or relying on plugins.

Throughout this guide, it will show 3 different ways Customize your WordPress header while sharing some advanced header customization tips and how to create multiple header templates.

Image [1] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

What is a WordPress Header?

The header is the topmost part of a website and usually appears at the top of every page of a website. Typically, the header will contain the following:

  • Website Logo
  • search function
  • Basic navigation menus (such as blogs,About Us,Contact Usetc.)

It is possible to customize the site's header to make it more useful to visitors, for example by adding:

Next, see how to customize the header of your WordPress website.

Ways to Customize WordPress Header

Method 1: Using WordPress Theme Customizer

many of WordPress ThemesRemaining support WordPress Theme Customizer (Theme Customizer), which can be used to customize the look and feel of the site. For example, I'm using the Twenty Twenty | WordPress Theme theme, which supports the theme customizer as it was released before WordPress 5.9 introduced full site editing capabilities.

Note: This approach works for older topics as newer topics are moving to theBlock-based architecture. In the next section, we'll learn howCustomize headers with full site editing features, continue down the page.

To access the WordPress Theme Customizer, go to the Appearance > Customization. If you do not see this option, it means that the site supports the full site editing feature.

Image [2] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

existTwenty Twenty ThemeThere aren't many options for editing titles in the In fact, there is no section dedicated to editing titles. To customize the title, go to"Color."Partial changesTitle ColorThe

Images [3] - How to Customize WordPress Header: Complete Guide with 3 Best Methods

It can also be accessed by going to Theme OptionsIn the title addSearch OptionsThe

Images [4] - How to Customize WordPress Header: Complete Guide with 3 Best Methods

If you want to add the headerWebsite Logorespond in singingSite TitleYou can go to"Website logo"Options.

Images [5] - How to Customize WordPress Header: Complete Guide with 3 Best Methods

That's it. In Twenty Twenty In the theme, it is not possible to add or remove navigation menus or make further header customizations.

If using a theme that offers specialized header customization options such as AstraThen you can make more changes to the site's header.

exist Astra In the theme, you can go to Header Builder(Header builder) to customize the header of the site.

Image [6] - How to customize WordPress header: complete guide with 3 best methods

Now, there are tons of changes that can be made to the site's header. For example, we can start by updating the navigation menu. To do this step, go to "main menu"(Primary Menu)Options.

Image [7] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Now want to customize the existing navigation menu.

Image [8] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

I'll click on "Configure Menu from Here > Primary Menu > + Create New Menu. Create New Menu".)

Image [9] - How to customize WordPress header: complete guide with 3 best methods

Name the new menu and click "Next, add the pages you want to link in the navigation menu.

Image [10] - How to customize WordPress header: complete guide with 3 best methods

Now, if noticed, the existing navigation menu will be removed.

Image [11] - How to customize WordPress header: complete guide with 3 best methods

To add a new menu, click "+ Add ItemsButton.

Image [12] - How to Customize WordPress Header: Complete Guide with 3 Best Methods

Now, I'm going to putHome page, Pricing page.respond in singingLoginAdd it to the header and click "PublishButton.

Image [13] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Now, you will see that the new navigation menu has been added to the site's header.

Image [14] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

For further customization, a header can also be added to theSocial Media Links. At the bottom of the customization page, you'll see an Addgadgetoptions, as shown below:

Image [15] - How to customize WordPress header: complete guide with 3 best methods

Social widgets have been added to the site navigation menu.

Image [16] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Now.To add links to social widgets, click on the social gadget you just added.

Image [17] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

A separate menu for adding links will now appear on the left side. Links can be added from this menu and the icon can be changed as desired.

Image [18] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Next, let's make some design changes to the header. It is necessary to enter the Design (DESIGN) Menu.

Image [19] - How to customize WordPress header: complete guide with 3 best methods

I'll add an underline effect to the navigation menu.

Image [20] - How to customize WordPress header: complete guide with 3 best methods

It will also change the text color of the navigation menu. When changed, the text color will be black, red when clicked, and blue when hovered.

Image [21] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

It can be customized more as needed, but for the sake of a less complicated tutorial, I'll stop here. If we preview the site now, the header looks like this:

Image [22] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

It's not pretty, but it does come customized. It can be customized to your liking.

Method 2: Customize with site-wide editing function

Now let's customize the header using WordPress' site-wide editing feature. It will switch to the Twenty Twenty-Four Topic. Changing a theme that supports block-based architecture reveals that the previous "The "Customize" option has been removedInstead of "Editor option. Click it to start the operation.

Image [23] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Once inside the editor, there are unlimited customization options. First, it will be like beforeCustomized Navigation Menu, because it's too confusing for me.

Image [24] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Ways to edit the navigation menu

  • Click on the navigation menu and then click on "Edit).
Image [25] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It
  • I just want to keep in the header "The Home, About, and Login pages.The
Image [26] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It
  • Once you are satisfied with the adjustment, click"Save"The
Image [27] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

This is the new menu:

Next, add a background color to the header.

  • Select the one that contains the site title, logo and navigation menu.Row blockThe
Image [28] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It
  • Go to the block's settings in the"Colors" (Color)search underneath"Background"Options.
Image [29] - How to customize WordPress header: complete guide with 3 best methods

I added a gradient background color to the header. You should see the following effect when previewing:

Well, the navigation menu looks too small and crammed in the corners. Let's make the text slightly larger and add some spacing.

  • optionNavigation blockEnter "Stylesoption to change the text size to medium and add spacing between menu items.
Images [30] - How to Customize WordPress Header: Complete Guide with 3 Best Methods

The header should look much better now that it's previewed:

Image [31] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Next, we add a sub-menu to the navigation menu showing the different language options.

  • Add "Submenu blockand named it "LanguagesThe
  • Then, add the sub-menu items as shown below:
Image [32] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

The preview results are as follows:

Image [33] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

You can try to create completely unique navigation headers for WordPress websites with the full site editor, right?

Create multiple header templates

One of the great advantages of the WordPress website editor is the ability to create different headers for different templates.

Changing the appearance and style of the header is made easy with the Site Editor, which allows you to use the preset headers in block mode.

For example, I would like to create a unique header for an individual page, rather than a site-wide header.
I would select the template that I want to create individual headers for and then follow the steps below:

Image [34] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It
Image [35] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

1. Delete existing header

When a template is selected, you will see that the header currently displayed is the one we created earlier.

Important Tip: Do not edit the existing header directly on this or any other template, as this will affect the header of the entire site.
Therefore, we need to delete this header and create a new one for the current template.

  • show (a ticket)List ViewThe
  • option"Header"ClickEllipses Icon > DeleteThe
  • This will delete the existing header.
Image [36] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

The effect of header deletion is as follows:

Image [37] - How to customize WordPress header: complete guide with 3 best methods

2. Adding a new header

Now we can add a new header to the template. Optional:

  • Creating a new header from scratch.or
  • expense or outlayPreset Header Pattern (Premade Pattern Header)The

The text chooses to use the preset header mode with the following steps:

  • go into Patterns > HeadersThe
  • Choose a header pattern that meets the needs of a header that will only appear on individual pages or articles using this custom template, without affecting the entire site.
Image [38] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Here's what my template looks like with a preset header:

The style and content of the customized header can now be further adjusted as needed!

Image [39] - How to customize WordPress header: complete guide with 3 best methods

Method 3: Create a custom header using the page builder

Another way to customize the header is to use thepage builder. However, if the site uses a custom theme with strict layout rules and does not allow the use of page builders to override its header, then this method may not be suitable.

But if one is building a website from scratch, then page builder would be a good choice.

Here, I use Elementor The free version (with limited customization options) of

Step: Customize Header with Elementor

1. Go to Appearance Settings
strike (on the keyboard) Appearance > CustomizeThe

Image [40] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

2. Select header and footer options
strike (on the keyboard) Header & Footer Options.

Image [41] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

3. start designing
strike (on the keyboard) Start Designing option to edit the header using Elementor.

Image [42] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

4. Select Header Theme
strike (on the keyboard) Header Theme Header (Header) Options.

Image [43] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

5. Simple customization
Due to the limited customization options in the free version, here we can only demonstrate how easy it is to tweak the different options to customize the website header by changing the color options.

Image [44] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

Here's how the header looks after I customized the colors:

Image [45] - How to Customize WordPress Header: Complete Guide with 3 Best Ways to Do It

reach a verdict

Above is our guide to customizing your WordPress header. We've described three different ways to do this: using the WordPress Theme CustomizerBy means of the Site-wide editing functionand the use of a program like Elementor Such a page builder.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Banner1
THE END
If you like it, support it.
kudos15 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments