Welcome once more to the Divi 5 Mastery Direction. In Phase 5, we built all the homepage for our coworking house internet web page from scratch, the usage of the Design Variables from Segment 3 and the Choice Team Presets and Component Presets from Phase 4 to stick the design consistent.
Now, in Segment 6, we’ll shift to the best possible of each and every internet web page by means of creating a custom designed header and navigation in Divi 5’s Theme Builder. We’ll use Flexbox settings, presets, variables, and Interactions to build a responsive header that accommodates a observation bar, brand, main navigation menu, social media links, and a call-to-action button.
We’ll moreover make the header international, so it seems that continuously across the internet website. By the use of the top of this post, your coworking internet web page can have a sophisticated, branded header that improves navigation and visually ties the internet website together.
Let’s get started.
Why You Need A Custom designed Header
The default Divi header and the Menu module are useful starting problems, alternatively a custom designed header built inside the Theme Builder will provide you with further control over structure, styling, responsiveness, and behavior. For instance, you’ll be capable of create sticky headers, assemble custom designed navigation buildings, use semantic HTML where appropriate, and come to a decision exactly how the header changes all the way through breakpoints.
Divi 5 moreover will provide you with further menu-building alternatives than a regular single Menu module approach. You’ll nevertheless use the Menu module for pace, which we’ll do in this tutorial. However, you’ll be capable of moreover assemble further complicated navigation with Link modules, Menu Loops, Dropdown modules, and Interactions when a undertaking calls for it.
Using the presets and variables from earlier parts of the path helps the header have compatibility the homepage. Instead of manually recreating fonts, colors, spacing, and button sorts, you’ll be capable of reuse the identical design machine. Then, while you change a shared preset or variable later, those changes can flow all the way through the header any place that preset or variable is used.
Getting access to The Theme Builder
To start out, move on your WordPress dashboard and navigate to Divi > Theme Builder.

Under the Default Website Template, click on on Add World Header. If you are starting from an provide placeholder, choose the method to assemble or edit the World Header. This opens the Visual Builder with a canvas dedicated to the header structure.

In this segment, we’ll assemble a custom designed header and navigation for the coworking internet web page. We’ll use the Design Variables and Presets created in Parts 3 and 4, which is in a position to boost up the process and keep the header aligned with the rest of the internet website.
By the use of the top, you’ll moreover understand the identical workflow we’ll use for various international areas of the internet website, along with the footer we’ll assemble in Segment 7.

Step 1: Environment Up The Header Container
First, we’ll assemble the foundation of the custom designed header. This gives the navigation a clean, flexible development the usage of Divi 5’s Flexbox controls and the design machine we already created.
Row Settings
Get began by means of together with a single-column Row to the Canvas. Throughout the Content material subject material tab, enlarge the Background risk group and observe the Primary Color variable to the background field.
Next, switch to the Row settings’ Design tab. Build up the Construction risk group and set Justify Content material subject material to Center.

Build up the Sizing risk group. Set Width to 100% and Max Width to None.

Throughout the Spacing risk group, to find the Padding fields. Use the Insert Dynamic Content material subject material icon in an effort to upload the Spacing – XSmall variable to the best possible and bottom padding fields.
Column Settings
Now, modify the Column settings for the Row. Throughout the Row’s Content material subject material tab, enlarge the Portions risk group and to find the Column. Click on at the edit icon, then open the Column’s Design tab and enlarge the Construction risk group.
Throughout the Horizontal Hollow and Vertical Hollow fields, insert the Spacing – XSmall variable the usage of Divi’s dynamic content material subject material alternatives.
Finally, set Align Items to Center.

Next, add another single-column Row to the Segment. Go to the Row’s Design tab and enlarge the Construction risk group. Use the Spacing – XSmall variable to set the Horizontal Hollow and Vertical Hollow to 10px. Throughout the Align Items field, select Center.

In the second Row’s Column settings, move to the Design tab and enlarge the Construction risk group. Follow the Spacing – XSmall variable to the Vertical Hollow field. Then, set Justify Content material subject material and Align Items to Center. Finally, set Construction Wrapping to Wrap.

Segment Settings
Next, modify the Segment’s Flexbox settings and spacing. Click on on into the Segment. Go to the Design tab and enlarge the Construction risk group. Set the Vertical Hollow to 10px.

Build up the Spacing risk group. Throughout the Very best Padding field, select the Border Width – Buttons variable to set the best possible padding to 0px. For the Bottom Padding field, select the Spacing – XSmall variable, which supplies 10px of padding.

Go to the Advanced tab and enlarge the Position risk group. Add 999 to the Z Index field. That is serving to keep the header above internet web page content material subject material when it becomes sticky.

Finally, enlarge the Scroll Effects risk group. Open the dropdown inside the Sticky Position field and select Stick to Very best. This helps to keep the header at the top of the viewport as visitors scroll.

Step 2: Together with The Announcement Bar
Quicker than together with the primary navigation, create the announcement bar. Throughout the first Row you added earlier, click on at the black + icon in an effort to upload a Heading module.
Throughout the Heading module settings, click on at the Assign Presets button next to the module header.

Choose the Subheading preset from the available alternatives.

Go to the Design tab and enlarge the Heading Text risk group. Click on on into the Heading Text Color field to open the color modal. Then, choose White from your international colors.

Quicker than together with the emblem and navigation links, add a Module Team to stick the primary header portions aligned and spaced. Click on at the black + icon in the second Row in an effort to upload a Crew module. When the Insert Module or Row modal turns out, add an Image module inside the Crew.
Throughout the Content material subject material tab of the Image module, enlarge the Image risk group. Hover over the Image field and select the Insert Dynamic Content material subject material icon. Then, select Website online Logo from the available alternatives.

Follow: If in case you haven’t any longer assigned a logo in Divi > Theme Possible choices, you’ll be capable of do that after the header is built.

Throughout the Design tab, enlarge the Sizing risk group. Throughout the Max Best field, add a value of 50px.

Step 4: Together with The Menu Module
For pace and straightforwardness, we’ll use the Menu module to maintain the primary navigation links. This fashion means that you can briefly connect a WordPress menu and magnificence it with the design machine we already created.
Divi 5 moreover accommodates more moderen menu-building alternatives, along with Link modules with Menu Loops, Dropdown modules, and Interactions. Those apparatus are useful for completely custom designed navigation patterns, mega menus, slide-in menus, and other complicated setups. For this header, however, the Menu module keeps the workflow targeted.
Add a Menu module to the Crew. If if you have already created a menu inside the WordPress dashboard, select it inside the Menu module’s Content material subject material tab beneath the Menu risk group. If now not, you’ll be capable of create the menu later and return to this surroundings.

Throughout the Menu module header, click on at the Assign Presets icon. Choose Dark Text from the available alternatives.

The Menu module can include a logo. Since we’re the usage of a separate Image module for the emblem, remove the Menu module brand by means of expanding the Logo risk group and clicking the delete icon.

Quicker than together with further modules, modify the Crew module’s Flexbox settings. Click on on into the Crew and move to the Design tab. Build up the Construction risk group and assign the Spacing – XSmall variable to the Vertical Hollow field. Set Construction Trail to Row, Justify Content material subject material to Space Between, Align Items to Center, and Construction Wrapping to Wrap.

Finally, enlarge the Sizing risk group. Throughout the Size field, permit Broaden to Fill. For the Alignment field, choose Stretch.

Step 5: Together with Social Links
Next, add a Social Media Follow module to the navigation house out of doors the Crew. Throughout the Content material subject material tab, enlarge the Portions risk group and add your Social Networks.
Return to the primary Content material subject material tab for the Social Media Follow module. Click on at the Assign Presets icon inside the module header and choose the Isolated Icons – Dark preset.
![]()
Next, edit every Social Group products inside the Portions risk group and assign an additional preset. Click on at the edit icon for the main Social Group.

Click on at the Assign Presets icon and select the No Background preset.

Repeat the ones steps for the remaining Social Group items.
Step 6: Together with A CTA Button
Finally, add a Button module to the navigation house. Throughout the module header, click on at the Assign Presets icon and select the Filled – Black preset.

Step 7: Creating Interactions
Now that the primary header portions are in place and styled with presets and variables, we can use Divi 5’s Interactions machine to control how the header behaves all the way through breakpoints.
In previous Divi workflows, you will have hidden portions on mobile the usage of Visibility settings inside the Advanced tab. That still works, alternatively Interactions get a hold of a further flexible technique to show and hide portions when shoppers enter explicit breakpoints.
For this coworking header, we’ll hide the social media icons and CTA button on smaller presentations while maintaining the emblem and menu visible. This helps to keep the mobile header simpler without getting rid of the necessary factor navigation path.
Environment Up The Interactions
Make a selection the Social Media Follow module and move to the Advanced tab. Build up the Interactions risk group and click on on + Add New Interaction.

When the modal turns out, choose Breakpoint Enter since the Reason Fit.

Assign an Admin Label. Then, set the Breakpoint to Tablet, choose Disguise Part since the Have an effect on Movement, and select the Social Media Follow module since the Function Module.

This Interaction hides the Social Media Follow module when the structure enters the Tablet breakpoint. However, we moreover need another Interaction to show the module another time when the structure returns to Desktop.
Click on on + Add New Interaction. Make a selection Breakpoint Enter another time. This time, set the Breakpoint to Desktop and choose Show Part since the Have an effect on Movement. Keep the identical Function Module.
Next, create two further Interactions for the CTA Button. Create one Interaction to show the Button on Desktop and another to hide the Button at the Tablet breakpoint and beneath.

Step 8: Trying out Responsiveness
Although we built the header with Design Variables, presets, and Flexbox settings, it’s nevertheless important to test how the entire thing behaves all the way through visual display unit sizes. Fluid typography, flexible spacing, and wrapping layouts help, alternatively real-world trying out confirms that the header nevertheless seems to be like polished and functions well on every breakpoint.
Divi 5 will provide you with two important apparatus for responsive art work.
Customizable Responsive Breakpoints
Divi 5 is helping customizable responsive breakpoints, which get a hold of further control than a collection desktop, tablet, and call setup. You’ll use the default full of life breakpoints or permit additional ones when a design needs further actual control.
For this header, breakpoints help you make a decision exactly when the social links and CTA button will have to hide, when spacing will have to tighten, and when navigation needs extra space. You’ll get right to use and edit Customizable Responsive Breakpoints from the Very best Bar.
Responsive Editor
The Responsive Editor in Divi 5 means that you can edit values all the way through enabled breakpoints at once inside the Visual Builder. Hover over a responsive-supported field in a module’s settings to show the Edit Responsive Values icon.

As you move via every breakpoint, the Visual Builder updates the canvas so that you’ll be capable of edit values in context. This makes it more straightforward to confirm that spacing, sizing, and visibility conceivable alternatives art work across the header’s entire responsive range.
Pointers And Best Practices For Headers In Divi 5
Listed below are a few best possible practices that will help you get further out of your custom designed header and keep the workflow surroundings pleasant since the coworking internet web page grows.
Preview In Context
Divi 5 means that you can edit Theme Builder areas while viewing them in context with internet web page content material subject material. Instead of switching back and forth between the Theme Builder and a separate internet web page preview, you’ll be capable of see how the header seems to be like above the homepage or another internet web page while you modify spacing, alignment, and colors.
To permit this view, click on at the Builder Settings icon inside the Builder Bar and turn on Show Theme Builder Layouts.

World vs. Explicit Headers
We created a World Header in this tutorial so it seems that all the way through the entire internet website. This is most often the most efficient starting point for a simple internet web page on account of each and every internet web page gets the identical navigation development by means of default.
Later, you’ll be capable of create further explicit Theme Builder templates when positive pages, post types, or sections of the internet website need a different header.

Export Header Templates
It is a excellent idea to export your Theme Builder templates or header structure as a backup. You’ll do this at once from the Theme Builder interface. Having an export record makes it more straightforward to restore the header, switch it to another internet website, or share it with a group member.

Downloading And Putting in place The Files
To make problems more straightforward, we’ve created a JSON record you’ll be capable of import into the Theme Builder. Quicker than importing the World Header, it’s highest to stipulate a WordPress menu in Glance > Menus. If in case you haven’t any longer created one however, you’ll be capable of nevertheless import the template and assign the menu later.
Navigate to Divi > Theme Builder. Then to find the Import & Export Templates icon at the top-right of the interface.

Click on at the Import & Export icon, select the Import tab, to find the CustomHeaderandNavigation.json record on your computer, and click on on Import Divi Theme Builder Templates.

Quicker than opening the template, click on at the Save Changes button.

With the template saved, open the Visual Builder. Depending on your enabled Customizable Responsive Breakpoints, it’s essential want to test the breakpoints used inside the imported Interactions.
Make a selection the Social Media Follow module, move to the Advanced tab, and enlarge the Interactions risk group. Test that the correct breakpoints are assigned to the hide socials and show socials Interactions. Repeat the identical check out for the Button module’s show button and hide button Interactions.

That’s it. You’ve created an international header for the coworking internet web page. To acquire the information, fill out the form beneath.
@media highest visual display unit and ( max-width: 767px ) {.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_right .et_bloom_form_content:forward of { border-top-color: #ffffff !important; border-left-color: transparent !important; }.et_bloom .et_bloom_optin_1 .carrot_edge.et_bloom_form_left .et_bloom_form_content:after { border-bottom-color: #ffffff !important; border-left-color: transparent !important; }
}.et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_fields i { color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_content .et_bloom_custom_field_radio i:forward of { background: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_border_solid { border-color: #f7f9fb !important } .et_bloom .et_bloom_optin_1 .et_bloom_form_content button { background-color: #f92c8b !important; } .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container h2 strong { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; }.et_bloom .et_bloom_optin_1 .et_bloom_form_container p, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p span, .et_bloom .et_bloom_optin_1 .et_bloom_form_container p strong, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form input, .et_bloom .et_bloom_optin_1 .et_bloom_form_container form button span { font-family: “Open Sans”, Helvetica, Arial, Lucida, sans-serif; } p.et_bloom_popup_input { padding-bottom: 0 !important;}
Download For Free
Join the Divi Newsletter and we will email you a reproduction of the ultimate Divi Landing Internet web page Construction Pack, plus lots of different very good and free Divi belongings, tips and strategies. Follow along and you’re going to be a Divi take hold of in no time. If you are already subscribed simply sort on your email deal with beneath and click on on download to get right to use the structure pack.
You’ve were given successfully subscribed. Please check out your email deal with to confirm your subscription and get get right to use to free weekly Divi structure packs!
What’s Coming Next
With the custom designed header complete, the coworking internet web page now has an impressive navigational foundation that uses the identical Design Variables and Presets we built in Parts 3 and 4.
In Segment 7: Development a Custom designed Footer in Divi 5, we’ll create an equivalent international footer template the usage of the identical design machine. You’ll discover ways to assemble a practical footer with a few columns, links, social icons, copyright text, and dependable styling.
If in case you haven’t any longer downloaded the latest type of Divi 5 however, now is an excellent time. The latest free up will provide you with get right to use to the choices used all the way through this path, along with the Theme Builder workflow, Interactions, Flexbox controls, Customizable Responsive Breakpoints, and the Responsive Editor.
The post Phase 6: Construction A Customized Header And Navigation In Divi 5 appeared first on Chic Issues Weblog.


0 Comments