Your web site wishes a header, a footer, and templates for weblog posts, merchandise, and different content material sorts. Divi 5‘s Theme Builder will provide you with a unmarried workspace to design a lot of these world portions, with new options that permit you to absolutely keep an eye on all your site’s glance and capability.
This submit walks you via the usage of Theme Builder for the commonest use instances, appearing you find out how to get probably the most out of the ones new options.
If you wish to practice alongside quicker, snatch our unfastened Divi 5 Design Machine freebie first. It comprises ready-made Theme Builder templates (headers, footers, and submit layouts) stressed out to Design Variables, so you’ll be able to customise the examples on this information with your individual logo types in mins.
Contents
- 1 What Is Divi’s Theme Builder
- 2 The usage of Theme Builder To Construct Templates
- 3 Use The Theme Builder In Divi 5 These days!
What Is Divi’s Theme Builder
Maximum web page developers permit you to design particular person pages. Divi’s Theme Builder is going additional. It will provide you with one workspace to design the entirety that repeats throughout your web site, corresponding to:
Subscribe To Our Youtube Channel
- World Header: Your web site’s primary navigation space, proven throughout all pages. Construct it as soon as along with your emblem, menu, and phone to motion, then let it run site-wide.
- World Footer: The ground segment of each and every web page, masking hyperlinks, copyright textual content, social icons, and publication signups.
- Weblog Publish Template: A structure that wraps each and every article you post. Arrange the hero space, content material column, sidebar, and linked posts segment as soon as, and each and every new submit makes use of it robotically.
- WooCommerce Templates: Product pages, class pages, cart, and checkout all get their very own templates. Construct the precise structure your retailer wishes the usage of Divi’s complete suite of WooCommerce modules, relatively than settling for the default WooCommerce output.
- Customized Publish Sort Templates: In case your web site makes use of customized submit sorts, whether or not for staff participants, occasions, testimonials, or portfolios, every one will have its personal template with its personal structure and content material construction.
- 404 Web page: A branded error web page that fits the remainder of your web site as a substitute of revealing a generic WordPress fallback.

Why Use The Theme Builder
Development those repeatable sections of your web site may be very time-consuming. Alternate your emblem, and also you’re updating it ten instances. That’s the issue Theme Builder solves. Alternate the header template as soon as, and each and every web page for your web site displays that vary in an instant. Submit a brand new weblog submit, and it robotically inherits your weblog template, no additional setup wanted. The similar is going for product pages, portfolio entries, staff profiles, or some other content material kind your web site makes use of.
This additionally issues for consistency. Pages styled for my part have a tendency to float. Spacing will get relatively other right here, and a font weight adjustments there. Templates save you that. Each submit, each and every product web page, each and every touchdown web page that makes use of a template remains visually aligned as a result of all of them pull from the similar supply.
Theme Builder And WooCommerce
For shops working WooCommerce, that is the place the default WooCommerce pages forestall having a look generic. As a substitute of accepting no matter structure WooCommerce generates, you construct product web page templates in Theme Builder the usage of Divi’s WooCommerce modules, and each and every product inherits that structure robotically.
On a product web page template, you put precisely the modules you wish to have: Product Photographs, Product Name, Product Worth, Upload To Cart, Product Ranking, Product Opinions, and extra.

Every one is a standalone Divi module with the entire vary of design settings, permitting you to keep an eye on structure, spacing, colours, and typography.

Class pages get the similar remedy, whether or not that’s a simple grid with the Woo Merchandise module or an absolutely customized product loop constructed with Loop Builder. Cart and checkout pages practice the similar good judgment. Permit Divi on the ones pages, and you’ll be able to construct the ones WooCommerce web page templates the usage of Divi’s WooCommerce modules, rearranging and styling them to suit your logo.
You’ll get particular, too. Show one header for your homepage and a special one on store pages. Construct layouts for positive classes. Set prerequisites to turn templates simplest on particular submit sorts or exclude them from specific pages. Theme Builder adapts to no matter construction your web site wishes.
New Options To Construct Your Web site Elements
Development templates will get higher when you’ll be able to dynamically pull content material, arrange elements in blank workspaces, and replace styling throughout more than one pages immediately. Listed here are one of the vital key options we not too long ago presented:
| Function | What It Does | |
|---|---|---|
| Flexbox | Construct any structure construction with responsive breakdown, customized module ordering, and simple vertical alignment | Be informed extra |
| CSS Grid | Design complicated grid layouts with actual keep an eye on the usage of templates or guide grid parameters | Be informed extra |
| Loop Builder | Show dynamic content material like weblog posts, merchandise, and customized submit sorts in absolutely customizable layouts. Additionally helps ACF fields, together with repeaters! | Be informed extra |
| Preset-Primarily based Design | Save and reuse whole module types or particular person choice teams, then replace all circumstances globally throughout your web site | Be informed extra |
| Customized Attributes | Upload any HTML characteristic like alt textual content, aria labels, and knowledge attributes to support accessibility and capability | Be informed extra |
| Semantic HTML Parts | Alternate any module’s HTML part kind to make use of semantic tags like nav, header, article, and button for higher accessibility and search engine optimization | Be informed extra |
| Design Variables | Create world defaults for fonts, colours, spacing, and typography that replace throughout all your web site | Be informed extra |
| Canvases | Construct menus, popups, and slide-in panels in separate workspaces that keep arranged and from your method | Be informed extra |
| Nested Modules | Position modules inside of different modules with endless nesting for complicated, customized layouts | Be informed extra |
| Interactions | Create popups, toggles, scroll results, and mouse interactions with out writing code | Be informed extra |
Get A Head Get started With Our Design Machine
Development from scratch takes time. Our Design Machine freebie will provide you with a ready-to-use basis with pre-built Theme Builder templates for headers, footers, and not unusual submit kind layouts, all stressed out as much as Design Variables so you’ll be able to change for your logo colours and fonts site-wide in mins.
You’ll in finding the Theme Builder templates within the freebie package deal. Import them at once into Divi, they usually seem in Theme Builder waiting to edit. It’s a cast start line should you’re development a brand new web site or having a look to review how a well-structured Theme Builder setup works.
The usage of Theme Builder To Construct Templates
You’ll in finding Theme Builder for your WordPress dashboard at Divi > Theme Builder.
Headers and footers get their very own buttons correct on the peak. For submit sorts, click on the Upload New Template button. Development any of those works like some other web page in Divi: the Visible Builder opens, you upload modules, taste them, and save.

With the fundamentals lined, let’s construct the commonest portions of a standard WordPress site: a header, a footer, and a weblog submit template.
Development A Header
Click on the Upload Header button on the peak of Theme Builder. The Visible Builder opens with a suite of premade Flexbox templates. We’re settling on the three-column, wider center column template beneath the Flex segment. This creates 3 bins with the middle one a bit of wider than the others to care for the menu. You’ll use any structure that matches your wishes.

Configuring Flexbox
The template comes with Flexbox already configured, however you’ll wish to modify the space to keep an eye on spacing between your emblem, menu, and button. Open the segment settings, pass to the Design tab, and in finding the Structure choice crew. The Hole box accepts static values like 10px or complicated gadgets like rem, em, viewport widths, and clamp().

Somewhat than typing values by way of hand, pull them out of your Design Variables. Click on the dynamic content material icon subsequent to the Hole box and choose your spacing variable.

This assists in keeping your header spacing tied in your design gadget. For a complete breakdown of each and every Flexbox choice, take a look at our walkthrough. And for a gap-based responsive spacing gadget, we’ve a information for that, too.
Including An HTML Wrapper To The Header
Your header segment wishes semantic construction. Display screen readers and search engines like google will have to acknowledge this space as your web site’s primary header, now not a generic container. This additionally is helping assistive applied sciences give customers a technique to bounce at once to navigation.
By way of default, Divi assigns a header part to the header segment, so generally you gained’t wish to exchange anything else. If you wish to verify it, open the segment settings, pass to the Complex tab, and in finding the HTML choice crew, then check that the Part Sort is ready to header.

Including Parts And Styling The Header
Let’s get started by way of including modules to the flexbox bins. We’re including a Brand Module to the primary column, a Menu Module to the second one, and a Button Module to the 3rd.

As discussed above, Theme Builder elements paintings precisely like the remainder of your Divi pages, so continue to taste your header the standard method: background and part colours, fonts, hover results, spacing, and extra.

Styling can pull from Design Variables and presets. The Variable Supervisor means that you can create colour variables for logo colours, font variables for typography, and quantity variables for spacing. Making use of those to the row and modules, relatively than the usage of mounted values, connects the entirety to a centralized gadget. You’ll even use presets to taste components to check the remainder of your web site.
The segment inherits Divi’s default padding, which provides the header a stately, open really feel. Depart it as is should you like that glance, or pass to the segment settings, Design > Spacing, and input a customized padding worth. We selected 15px for a condensed header.
Or to modify this, pass to the segment settings Design > Spacing, and input a customized spacing worth beneath padding. We selected 15px for a condensed header.

If the width feels slender, modify it in the course of the segment’s Sizing choices beneath Design. We went with the default.
The menu wishes the similar semantic remedy. Whilst you mark it as navigation, display screen readers announce it as web site navigation, and customers can bounce to or previous it the usage of keyboard shortcuts.
Open the Menu Module settings, pass to the Complex tab, and alter Part Sort to nav from the HTML choices. That wraps the menu in a nav tag and obviously defines its function.

Those settings slightly scrape the outside of Divi 5’s doable. You’ll additionally construct mega menus if wanted. Right here’s a fast information to take action.
Making The Header Responsive
The Menu Module collapses right into a hamburger menu by way of default on cellular. That works effective for many websites. However Canvases and Interactions permit you to construct one thing extra adapted if you wish to have keep an eye on over the animation, structure, and total really feel.
Developing A Cellular Menu Canvas
Click on the Canvas dropdown on the peak of the Visible Builder, subsequent in your web page name. Make a selection Upload Canvas, title it one thing like Cellular Menu, and toggle the worldwide transfer to allow this Canvas throughout all your web site.
Upload a piece and set its alignment to correct the usage of the flexbox settings.

Do the similar for the column, then practice a semi-transparent darkish background to create an overlay that dims the web page in the back of it.

Label the segment so it’s simple to search out later.

Styling The Menu Row
Upload a background colour to the row and set the peak to 100vh on each the segment and the row from the sizing tab, so the menu remains aligned when opened.

You could realize that spacing is off. First, set the segment padding to 0.

Then upload a refined padding to the row itself. We’re going with 20px.

Optionally, set an front animation for a extra immersive enjoy. For our instance, we made the row slide in from the left from Design > Animation.

Developing A Vertical Menu
By way of default, the Menu in Divi is horizontally organized. Then again, this principally defeats the aim on a display screen with restricted horizontal house, like cellphones. So, we’re going to use Divi 5’s Loop Builder to construct a vertical menu for cellular gadgets.
Upload a Team in your menu column, then upload a Hyperlink Module to the Module Team.
Pass to Team Settings > Design > Structure, exchange the Structure Path to Column, and modify the vertical hole. We’re going with 10px. Those will set each and every menu merchandise 10px aside for a compact glance.
Likewise, set the Justify Content material to Heart and Align Pieces to Finish.

Subsequent, set the HTML wrapper for this Module Team to nav.

Now, transfer directly to the Hyperlink Module. Toggle the loop button, then make a choice Menu from the Question Sort dropdown and choose your menu.

Then, pass to the Hyperlink tab, click on the Upload Dynamic Content material icon, and choose Loop Menu Hyperlink.

In a similar way, within the textual content box, choose Loop Menu Textual content.

In the end, taste the menu as you probably did with the desktop menu module.
Including A Shut Button For The Menu
Upload an Icon Module on the peak with a detailed icon, taste it, set its Part Sort to button, and upload an aria-label characteristic with a price like “Shut Menu” in the course of the Complex tab’s Attributes segment.
Now, within the Place settings, set the Place to Fastened, Offset Beginning to peak correct, and set each offsets to 20px and the Z Index to 999. This guarantees the icon at all times stays on peak, with a 20px respiring house from the top-right nook, irrespective of the container’s settings. The overlap with the menu can be mounted within the later steps.

We additionally added a CTA button to the combination.

Making ready The Menu For The Cause
The row for the menu components is simply too large as it inherits Divi’s default settings. To mend this, pass to the row’s sizing tab and set the width to auto. This provides the row a width equivalent to its content material plus the padding.

Finally, pass to segment settings > Complex > Visibility and conceal this segment for all gadgets. The menu will have to simplest seem when induced.

Then pass to the Place tab, exchange the placement to mounted, the beginning to peak correct, and set the Z Index to 999. This pins the segment to the viewport and layers it above all different content material.

In combination, those two settings flip the menu canvas right into a power menu that’s at all times on peak of the remainder of the web page, giving it a real cellular menu really feel.
Development The Menu Cause
Transfer to the primary canvas. Conceal the center column’s Menu Module and the 3rd column’s button on smaller monitors the usage of Visibility settings.
Within the closing column, upload an Icon Module with a hamburger icon. Taste it, set the Part Sort to “button” and the aria-label characteristic to “Open Menu.” Display this icon simplest on cellular and pill, hiding it on desktop the place the entire menu already seems.

Atmosphere Interactions To Cause The Menu
Now, we’ll use Interactions to set this icon because the cause for our canvas cellular menu.
Pass to the hamburger icon’s settings > Complex > Interactions and upload a brand new interplay with the next settings:
- Admin Label: Display Cellular Menu
- Cause Match: Click on
- Impact Motion: Display Part
- Goal Module: (The segment we categorised within the Canvas)
- Time Extend: 150ms
This interplay will now cause the menu opening on smaller gadgets.

The shut icon inside of your Canvas will get its personal interplay:
- Admin Label: Conceal Cellular Menu
- Cause Match: Click on
- Impact Motion: Conceal Part
- Goal Module: (The segment we categorised within the Canvas)
- Time Extend: 150ms

With this straightforward setup, we have a mobile-ready header that improves accessibility and search engine optimization.
The setup mirrors the header, however the construction holds other content material. We’re the usage of a two-row flex template: the tip row for primary content material, the ground row for criminal textual content and hyperlinks.

Atmosphere Up The Most sensible Row
We can get started by way of nesting a three-column flexbox within the first row. This creates house for more than one content material spaces that take a seat facet by way of facet on higher monitors and stack naturally on cellular.
The primary column can dangle a Textual content Module with corporate data, and a Social Media Observe Module will also be positioned under it.

The second one column works effectively for the vertical menu we made previous within the header. The 3rd column supplies house for an Optin Module the place guests can subscribe.

Prepare them on the other hand your web site wishes, then taste them accordingly: fonts, spacing, colours, borders, and backgrounds.

The footer wishes the similar right kind markup we added to the header for accessibility and search engine optimization. Open the segment settings, pass to Complex > HTML, and alter Part Sort to footer. That wraps the entirety in a right kind footer tag.

The Menu Module for your 2d column additionally wishes its part kind set to nav.

The Optin Module comprises each an enter box and a put up button, every wanting its personal accessibility attributes. Divi 5 means that you can set attributes to any a part of a module.
Click on Upload Characteristic, choose Box from the Goal Part dropdown, set Characteristic Title to function, and Characteristic Price to textbox.

Then upload any other box characteristic with aria-required set to true. This is helping keep up a correspondence required fields extra obviously to assistive applied sciences.

The Optin Module objectives all fields immediately. Different modules, like Touch Shape, permit you to goal particular person fields one by one. Upload another characteristic: set Characteristic Title to aria-label, goal part to button, and the price to one thing like “Subscribe to publication.” This clarifies the button’s motion with out converting what seems on display screen.

Those changes make your footer out there to everybody and assist search engines like google parse your web site construction appropriately.
Atmosphere Up The Backside Row
The second one row can dangle a copyright realize or criminal hyperlinks. Somewhat than typing the 12 months and updating it each and every January, Divi can pull the present 12 months robotically the usage of dynamic knowledge.
A Textual content Module right here works effectively. Click on the dynamic knowledge icon above the textual content box and choose Date. Customized Layout with Y within the layout box pulls the present four-digit 12 months. The Prior to box can dangle a copyright image adopted by way of an area, and the After box an area and your corporate title. The outcome updates itself every 12 months.
Assembling A Weblog Publish Template
Weblog posts want their very own visible construction, break away the header and footer that wrap them. A template that attracts content material dynamically manner every new submit inherits the similar structure with out guide setup.
For this template, we’re development a frame structure with a hero space, primary content material column, and sidebar. Click on Upload New Template.

Then, take a look at the “All Posts” field and create a Template.

Then click on Upload Customized Frame within the All Posts template. The Visible Builder will have to now open with a clean canvas.

Atmosphere Up The Hero House
A piece on the peak works effectively as a hero space for the featured symbol and key submit data. The Publish Name module applications the entirety: name, featured symbol, writer, and extra, as a unmarried element.

For extra granular keep an eye on, you’ll be able to upload every module your self and attach it to the real content material the usage of the dynamic content material choice.

Taste it like some other Divi part: logo fonts, colours, and spacing.

This segment advantages from right kind markup, too. Below Complex > HTML, converting Part Sort to segment shall we browsers and display screen readers determine it as a definite content material space.

Development The Primary Content material House
Under the hero, any other segment holds the item content material and sidebar in a two-column structure. A 2/3 and 1/3 break up provides readers room to concentrate on the item whilst protecting linked content material inside of succeed in.

The broader column can dangle a Publish Content material Module. This pulls in no matter you write within the WordPress editor for every submit: paragraphs, pictures, headings, and formatting all seem robotically. Taste it accordingly.

This column works effectively wrapped in a prime part. That marks it as the principle content material space, serving to accessibility gear and search engines like google perceive what guests got here to learn.
Developing A Dynamic Sidebar
The narrower column turns into a sidebar. A Individual Module with dynamic knowledge for the submit writer suits effectively right here.

Under that, upload a Name Module with a heading like “Extra Helpful Posts” or “Extra From This Class,” then taste it.
Then, a Name Module with the Loop Part toggle enabled can display fresh articles. Set Question Sort to posts and Publish Sort to posts. Posts Consistent with Web page determines what number of articles seem, possibly 3 or 4, to stay the checklist manageable. Set the hyperlinks the usage of the related loop dynamic content material choices.
The sidebar column will also be set to apart within the HTML settings. This marks the content material as supplementary, break away the primary article however nonetheless linked.

Including A Comparable Posts Segment
On the backside, a brand new segment with a two-row structure works effectively. Nest a four-column structure inside of the second one row, delete 3 columns, and stay one.
The primary row can dangle a focused name like “Fresh Posts” or “You May Like.”

The Loop Part toggle on that column pulls in posts at your most popular rely, ordered by way of date or recognition. Modules for the featured symbol, name, and excerpt hook up with their dynamic Loop content material tags.
Styling them as playing cards with borders, shadows, or backgrounds makes every preview clickable and distinct.

Additionally, allow the loop hyperlinks for the column loop.

The part kind for this segment will also be set to segment within the HTML settings.

Write a brand new submit, post it, and this template renders the entirety robotically with out touching the structure once more. And when you are making adjustments to the template, they replace throughout each and every submit.
Reordering Content material For Cellular Gadgets
Desktop layouts don’t at all times translate effectively to smaller monitors. Every module, column, and row has an Order environment within the content material tab that controls stacking on other display screen sizes.
Your weblog template may display the writer first, then linked posts within the sidebar. Atmosphere the related-posts pieces to orders 1 and a pair of and the writer pieces to orders 3 and four on cellular puts linked posts sooner than the writer bio for higher engagement.

The Visibility settings pair effectively with this. A sidebar banner advert may paintings on desktop, however it clutters cellular monitors. Hiding it on smaller breakpoints assists in keeping issues blank.
Footers practice the similar good judgment. On smaller gadgets, 4 columns of hyperlinks will also be reordered so the publication signup seems first on telephones, with criminal hyperlinks on the backside.
Placing In combination A Product Web page
Click on Upload New Template in Theme Builder, then choose All Merchandise, then click on Create Template. As soon as the template card seems, click on Upload Customized Frame to open the Visible Builder with a clean canvas.

We’re including two sections. The primary makes use of a two-column structure with a 2/5 and three/5 break up. That is the place all of the core product content material is going: pictures on one facet, acquire main points at the different.

The second one segment makes use of a regular single-row structure. That’s the place upsells and linked merchandise will take a seat, break away the primary product data.

Set the primary segment’s Part Sort to article beneath Complex > HTML. A product is its personal standalone piece of content material, so the item part is the correct name.

The second one segment will get the segment Part Sort, marking it as a definite however linked space of the web page.

For the columns within the first segment, the left column works effectively as a determine part as it comprises the product imagery.

The precise column, which carries the core acquire main points, will also be set to primary.

Development The Product Structure
The left column holds the product imagery. Upload the Product Photographs module right here. Below the Content material tab, enlarge the Parts dropdown to keep an eye on what displays: the featured symbol, gallery pictures, and sale badge. Every has its personal toggle.

The Design tab’s Symbol dropdown covers full-width, borders, field shadows, spacing, and filters. The Sale Badge will get its personal styling choices too, together with background colour, textual content, and borders.

The precise column is the acquisition space. Regulate the column spacing after which stack your modules within the order you like. We’re going with: Product Name, Product Ranking, Product Worth, Product Description, and Upload To Cart. Taste every module accordingly.

The Upload To Cart module’s Parts toggles permit you to display or cover the volume box and inventory rely.

You may additionally believe including an Icon Listing module for consider alerts: protected fee, unfastened returns, guaranty data, and anything your retailer provides. Taste and align it as effectively.

The icons listed here are ornamental for the reason that textual content labels raise all of the which means. Make a selection the Listing Icon merchandise > Complex > Attributes, goal the Icon part, set Characteristic Title to aria-hidden, and Characteristic Price to true. Repeat for all checklist pieces. Display screen readers will skip the icons and browse the textual content at once.

Appearing Comparable Merchandise
Upload the Comparable Merchandise module to the second one segment. The module pulls merchandise that WooCommerce has already made up our minds are linked to the present product, in keeping with shared classes and tags, and not using a question setup wanted for your finish.

The Content material tab means that you can keep an eye on what number of merchandise seem, their order, and what components will have to seem. The Design tab covers the entire vary of styling: symbol dimension, name typography, worth textual content, button types, and spacing. Taste the entirety to check the remainder of your template.

The Comparable Merchandise module works for many internet sites. For extra keep an eye on over which merchandise seem and the way every card appears, Loop Builder means that you can question the product submit kind and construct the structure the usage of any Divi module, simply as we did for the linked posts segment within the weblog template.
Use The Theme Builder In Divi 5 These days!
Divi 5‘s Theme Builder places all of your world elements in a single position. Construct headers, footers, and content material templates as soon as, set the place they seem, they usually paintings throughout all your web site.
The mix of Loop Builder, Canvases, and Design Variables means that you can arrange templates that pull dynamic content material, care for complicated interactions, and care for constant styling throughout each and every web page.
The templates you construct right here transform the root for all your web site. You construct the construction that the entirety else sits on, and getting it correct right here manner much less paintings all over the place else.
The submit The usage of The Divi Theme Builder in Divi 5 seemed first on Chic Issues Weblog.
WordPress Web Design
