Skip to Main Content

Divi tutorial: How to use the Zone Widget module

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 901.000 downloads, Divi is the most popular WordPress theme in the world. It is complete, easy to use and comes with more than 62 free templates. [Recommended]

Divi allows you to create an unlimited number of ready-to-use zones on the fly. Sidebars can then be added to any page, allowing you to create unique sidebars for different sections of your website.

How to add a Zonde widget module from Divi

Before you can add a sidebar module to your page, you must first jump to Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builder above the post editor whenever you create a new page. Click on this button to activate Divi Builder and access all the Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click the button Use Visual Builder when you browse your website in the foreground if you are connected to your WordPress dashboard.

divi builder

Once you are using Visual Builder, you can click the gray (+) button to add a new module to your page. New modules can only be added inside rows. If you are starting a new page, remember to add a row to your page first.

sidebar divi plugin wordpress.png

Locate the sidebar module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means you can also type in the word "sidebar" and then click "Enter" to automatically find and add the sidebar module! Once the module is added, you will be greeted by the module options list. These options are separated into three main groups: Contents , Design et Advanced .

Example use case: Adding a sidebar to your blog page

The sidebar module allows you to insert a sidebar (and all of its built-in widgets) anywhere on your page. Actually, you can add any widget area using the sidebar module. For this example, I'll show you how to insert a custom sidebar to your blog page using the specialized section to display the Search and Recent Posts widget on WordPress.

sidebar for article on WordPress.jpg

This blog page has a full width header to display the blog title at the top of the page. Below the fullwidth header module is a specialty layout with a blog module on the left and a right vertical sidebar area on the right.

Using the specialized section allows you to add complex column variations next to the vertical sidebars, without adding unwanted breaks to the page. This is perfect for a blog with a sidebar.

First you need to make sure you have the widgets set up in the Widgets page of your WordPress dashboard. For this example, I'm adding the Search widget and the Recent Articles widget to the Sidebar widget.

lateral bar widget wordpress.png

Then deploy Visual Builder to edit the blog page. Add a specialized section to your page (just below your header) with the following layout:

create a custom section divi.png

insert columns divi.png

Once you've added a specialized section to the page, you'll notice that an area (on the left) has an “Add Module” button. For this example, this is where the Blog module with a grid layout has been added to display blog posts.
example article blog layout grid.png

Easily create your website with Elementor

Elementor allows you to easily create any website design with a professional look. Stop paying expensive for what you can do yourself. [Free]

The other (on the right) has an "Insert Row" button. The "Insert module" area represents your vertical sidebar. This is where you will enter the sidebar module. You can add as many modules here, in a single row, and they will span the vertical width of the section, adjacent to the column structure you build next to it. In fact, for this example, the blog page already has an Email Optin module and a Person module in that area of ​​the vertical sidebar of the Specialty layout.

Now, add the sidebar module to the top of the other modules in your vertical sidebar area.

add modules to the sidebar.jpg

In the Sidebar Module setting, update the following:

Content tab

Widget area: select Sidebar

Design tab

Orientation: Right (because the sidebar is on the right)
Delete Border Separator: YES
Text color:
Dark Header Font Size: 26px
Spacing of letters of
header: 3px Header row height: 1.1em

Advanced tab

Under the Custom CSS section, add the following CSS to the Widget text box. This will make the design of the sidebar widgets match the design of the site:

background: #fff; padding: 20px; -webkit-box-shadow: 0 1px 5px rgba (0, 0, 0, 0.1) -moz-box-shadow: 0 1px 5px rgba (0, 0, 0, 0.1); box-shadow: 0 1px 5px rgba (0, 0, 0, 0.1);

create a divi.jpg sidebar

Save settings

You can now see that the sidebar module displays the elements of the Sidebar widget (Search and Recent Articles) and displays them in the vertical sidebar area of ​​your specialty section.

example of sidebar divi.jpg

Content options for the sidebar

In the content tab, you will find all the content elements of the module, such as text, images and icons. Everything that controls what appears in your module will always be found in this tab.

sidebar.png settings

Widget area

The Sidebar module uses widget creation boxes that you can create in the Appearances> Widgets tab. You can select one of your custom widget areas from this drop-down menu.

Admin Label

This will change the module label in the constructor for easy identification. When you use the WireFrame view in Visual Builder, these labels appear in the module block of the Divi Builder interface.

Sidebar design options

In the Design tab, you will find all the module styling options, such as fonts, colors, sizing and spacing. This is the tab you will use to change the appearance of your module. Each Divi module has a long list of design settings that you can use to change anything.

design options divi.png

Orientation

Here you can choose which side of the page your sidebar will be displayed on. This parameter controls the orientation of the text and the position of the border.

Delete the border separator

Here you can remove the thin gray border that separates your sidebar from the content of your page.

Text color

Here you can choose whether your text should be light or dark. If you are working on a dark background, your text should be light. If your background is light, your text should be dark.

Header Font

You can change the font of your header text by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Header font size

Here you can adjust the size of your header text. You can drag the range slider to increase or decrease the size of your text, or directly enter the desired text size value in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Text Color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your header text, choose the desired color from the color picker using this option.

Header letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your header text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units, which means you can enter "px" or "em" depending on your size value to change its unit type.

Header Row Height

Line height affects the space between each line of your header text.If you want to increase the space between each line, use the slider to adjust the space or enter the desired spacing size in the field. entry located to the right of the slider. The input fields support different units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Body font

You can change your body font by selecting the desired font from the drop-down menu. Divi comes with dozens of great fonts powered by Google Fonts. By default, Divi uses the Open Sans font for all the text on your page. You can also customize the style of your text using bold, italics, capitals and underline options.

Body font size

Here you can adjust your body text size. You can drag the slider to increase or decrease the size of your text or directly enter the value of the desired text size in the input field to the right of the slider. The input fields support different units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Body text color

By default, all the text colors in Divi appear in white or dark gray. If you want to change the color of your text, choose the desired color from the color picker using this option.

Spacing of body letters

Letter spacing affects the space between each letter. If you want to increase the space between each letter in your text, use the range slider to adjust the space or enter the desired spacing size in the input field to the right of the slider. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Height of the body line

Line height affects the space between each line of text in your body If you want to increase the space between each line, use the range slider to adjust the space or enter the desired spacing size in the input field located to the right of the cursor. The input fields support different measurement units which means you can enter "px" or "em" depending on your size value to change its unit type.

Advanced sidebar options

On the advanced tab, you'll find options that more experienced web designers might find useful, such as custom CSS and HTML attributes. Here you can apply custom CSS to any of the module's many elements. You can also apply custom CSS classes and IDs to the module, which can be used to customize the module in your child theme's style.css file.

advance sidebar divi.png

CSS ID

Enter an optional CSS ID to use for this module. An ID can be used to create a custom CSS style or to link to particular sections of your page.

CSS class

Enter the optional CSS classes to use for this module. A CSS class can be used to create custom CSS styling. You can add multiple classes, separated by a space. These classes can be used in your Divi child theme or in the custom CSS style sheet that you add to your page or to your website using the Divi theme options or the Divi Builder page settings.

Custom CSS

Custom CSS can also be applied to the module and any of the module's internals. In the Custom CSS section, you will find a text field where you can add custom CSS style sheets directly to each element. CSS entries in these settings are already wrapped in style tags. So just enter the CSS rules separated by semicolons.

Visibility

This option allows you to control the devices on which your module appears. You can choose to deactivate your module on tablets, smartphones or desktops individually. This is useful if you want to use different mods on different devices, or if you want to simplify the mobile design by eliminating certain elements from the page.

Other Divi tutorials

This article features 3 comments

  1. Hi
    Unlike you, I'm trying to remove the sidebar in my blog articles pages and I don't know how to do it on the new Divi 4 version
    Do you have a tip?
    please
    Aurélie

  2. Hello and thank you for these tutorials.

    In this example did you start with a full width page or with a template with an original sidebar?

Leave a comment

Your email address will not be published. Required fields are marked with *

This site uses Akismet to reduce unwanted. Learn more about how your comments data is used.

Back To Top
14 shares
Share8
tweet2
Save4