When it comes to building a header, the possibilities are endless. You can include anything you can imagine inside your Divi header if you use the Divi Theme Builder. Today, we’re adding another highly-requested header design tutorial to your list of resources. We’ll show you how to make your logo cross the primary and secondary menu bars inside your header. You’ll be able to download the JSON file for free as well!

Let’s get to it.

Preview

Before we dive into the tutorial, let’s take a quick look at the outcome across different screen sizes.

Desktop

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Mobile

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Download The Global Header Template for FREE

To lay your hands on the free global header template, you will first need to download it using the button below. To gain access to the download you will need to subscribe to our Divi Daily email list by using the form below. As a new subscriber, you will receive even more Divi goodness and a free Divi Layout pack every Monday! If you’re already on the list, simply enter your email address below and click download. You will not be “resubscribed” or receive extra emails.

1. Create New Global Header Template

Go to Divi Theme Builder

Start by going to the Divi Theme Builder in the backend of your WordPress website. Once there, click on “Add Global Header”.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add New Global Header

A dropdown menu will appear. To start building from scratch, continue by selecting “Build Global Header”.

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

2. Build Header Design

Add Specialty Section

To build this design, we’re going to use a specialty section.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column Structure

This is the column structure we’re using for our specialty section:

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column 1 Background Color

Once you’ve added the specialty section, open its settings and apply a column 1 background color.

  • Column 1 Background Color: rgba(255,191,0,0.27)

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Sizing

Move on to the design tab and change the sizing settings as follows:

  • Equalize Column Heights: Yes
  • Use Custom Gutter Width: Yes
  • Gutter Width: 1
  • Inner Width: 100%
  • Inner Max Width: 2580px

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Modify the spacing settings too.

  • Top Padding: 0px
  • Bottom Padding: 0px
  • Column 1 Top Padding: 0px
  • Column 1 Bottom Padding: 0px
  • Column 2 Top Padding: 0px
  • Column 2 Bottom Padding: 0px

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Column CSS IDs

Then, go to the advanced tab and apply a custom CSS ID to both columns.

  • Column 1 CSS ID: header-first-column
  • Column 2 CSS ID: header-second-column

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Image Module to Column 1

Upload Image

Time to add modules, starting with an Image Module in column 1. Upload your logo.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Alignment

Then, move on to the design tab and change the image alignment.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Sizing

Apply a max width to the sizing settings too.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Visibility

And hide the module on smaller screen sizes.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Row #1 to Column 2

Column Structure

In column 2 of our specialty section, we’ll add a first row using the following column structure:

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background Color

Open the row settings and use the following background color:

  • Background Color: #a163ff

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Move on to the row’s design tab and change the spacing settings as follows:

  • Top Padding: 10px
  • Bottom Padding: 10px
  • Left Padding: 5%
  • Right Padding: 5%

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Border

Apply the following border settings next:

  • Bottom Border Width: 3px
  • Left Border Width:
    • Desktop: 3px
    • Tablet & Phone: 0px
  • Border Color: #6c2eb9

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Main Element CSS

And use the following lines of CSS code inside the row’s main element:

display: flex;
justify-content: center;
align-items: center;

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Hide Column 1 & 2 on Smaller Screen Sizes

To simplify the design on smaller screen sizes, we’ll open the column 1 and 2 settings and hide both of them on tablet and phone.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Social Media Follow Module to Column 1

Add Social Networks

Time to add modules, starting with a Social Media Follow Module in column 1. Add the social networks of your choice.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Individual Social Network Background Color

Modify each social network’s background color individually.

  • Background Color: #ffeeba

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Icon Settings

Go back to the general module settings and change the icon color.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Border

Add some rounded corners to the border settings too.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Text Module to Column 2

Add Content

Next, add a Text Module to column 2 with some content of your choice.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Text Settings

Change the module settings as follows:

  • Text Font: Poppins
  • Text Alignment: Center

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Button Module to Column 3

Add Copy

In column 3, the only module we need is a Button Module. Add some copy of your choice.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Button Alignment

Move on to the module’s design tab and change the button alignment across different screen sizes.

  • Button Alignment:
    • Desktop: Right
    • Tablet & Phone: Center

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Button Settings

Style the button next.

  • Use Custom Styles For Button: Yes
  • Button Text Size: 14px
  • Button Text Color: #6c2eb9
  • Button Background Color: #ffeeba
  • Button Font: Poppins
  • Button Font Weight: Bold
  • Button Font Style: Uppercase

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

  • Show Button Icon: Yes
  • Button Icon Placement: Left

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

And apply the following padding values:

  • Top Padding: 10px
  • Bottom Padding: 10px
  • Left Padding: 50px
  • Right Padding: 30px

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Row #2 to Column 2

Column Structure

The next and last row we need in our section’s second column uses the following column structure:

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Background Color

Open the row settings and use the following background color:

  • Background Color: rgba(161,99,255,0.1)

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Spacing

Modify the row’s spacing settings next.

  • Top Padding: 20px
  • Bottom Padding: 20px
  • Left Padding: 5%
  • Right Padding: 5%

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Border

Then, apply the following border settings:

  • Left Border Width:
    • Desktop: 3px
    • Tablet & Phone: 0px
  • Left Border Color: #6c2eb9

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Menu Module to Column

Select Menu

Then only module we need in this row is a Menu Module. Select a menu of your choice.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Upload Logo on Tablet & Phone

Then, upload a logo on tablet and phone only.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Remove Background Color

Remove the module’s background color next.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Menu Text Settings

Move on to the module’s design tab and change the menu text settings as follows:

  • Menu Font: Poppins
  • Menu Text Color: #6c2eb9
  • Menu Text Size: 16px

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Dropdown Menu Settings

Apply the following dropdown menu line color next:

  • Dropdown Menu Line Color: rgba(0,0,0,0)

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Icons Settings

Then, change the icon settings.

  • Shopping Cart Icon Color: #6c2eb9
  • Search Icon Color: #6c2eb9
  • Hamburger Menu Icon Color: #6c2eb9

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Sizing

Apply a logo max width on tablet and phone.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Code Module to Column 1

To change the proportions of our header design, we’re going to make some slight CSS modifications. To include the code, add a Code Module below the Image Module in column 1.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Add Style Tags

Place some style tags inside the code box.

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Insert CSS Code Between Style Tags

And place the following lines of CSS code in between the style tags:

@media all and (min-width: 980px) {
#header-first-column {
width: 10% !important;
display: flex;
justify-content: center;
align-items: center;
}

#header-second-column {
width: 90% !important;
}
}

@media all and (max-width: 980px) {
#header-first-column {
display: none;
}
}

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

4. Save Divi Theme Builder Changes

Now that everything is in place, the only thing left to do is save all Divi Theme Builder changes and view the outcome!

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Preview

Now that we’ve gone through all the steps, let’s take a final look at the outcome across different screen sizes.

Desktop

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Mobile

logo primary secondary menu bar
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc
  • https://www.facebook.com/lafactoryworld
  • https://twitter.com/lafactory
  • Gmail
  • https://www.linkedin.com/company/lafactory-inc

Final Thoughts

In this post, we’ve shown you how to get creative with your Divi header. More specifically, we’ve shown you how to make your logo cross the primary and secondary menu bar inside your header. You were able to download the JSON file for free as well! If you have any questions or suggestions, feel free to leave a comment in the comment section below.

If you’re eager to learn more about Divi and get more Divi freebies, make sure you subscribe to our email newsletter and YouTube channel so you’ll always be one of the first people to know and get benefits from this free content.

 

Source link