Skip to Main Content

How to add a comment section on Divi

Divi: the easiest WordPress theme to use

Divi: The best WordPress theme of all time!

With over 600.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]

The comment module allows you to place a comment form anywhere on your page. If you use a standard page or a publication without Divi Builder, the comments will always appear under the content of your publication.

Once the Divi Builder is activated, you can place the comments module anywhere on your page and the comment form will appear at the module's location. This gives you a lot more control over your comments!

comment module divi.png

How to add a comment module to your page

Before you can add a comment module to your page, you must first access the Divi Builder. Once the Divi theme is installed on your website, you will notice a button Use Divi Builder above the publisher each time you create a new page.

Clicking this button activates Divi Builder, which gives you access to all Divi Builder modules. Then click on the button Use Visual Builder to start the generator in visual mode. You can also click on the button Use Visual Builder when you are browsing your upstream website if you are logged in to your WordPress dashboard.

button divi builder module blog divi

Once entered in Visual Builder, you can click the gray plus button to add a new module to your page. New modules can only be added inside the lines. If you start a new page, do not forget to add a line to your page first.

add comments divi.png

Locate the comments module in the list of modules and click on it to add it to your page. The list of modules is searchable, which means that you can also enter the word "comments", then click on enter to search and automatically add the comments module! Once the module is added, you will be welcomed with the list of options of the module. These options are separated into three main groups: Contents , Design et Advanced .

Use case adding a comment section to your blog post

For this example, I'll show you how easy it is to insert and format a comment module in your article using Visual Builder.

Note that the comment section is added beneath the contents of the publication and above a three-column footer section. However, the comment module could have been added anywhere.

add a comment section divi.jpg

Using Visual Builder, add a standard section with a full-width line (1 column) beneath the modules containing the content of your publication. Then add the Comments module to the line.

comment module divi.png

Update the comment settings as follows:

Content options

Background color of the fields: #ffffff

Design options

Color of text: Dark
Comment Police: PT Sans
Comment Font Size: 20px
Comment Text color:
Police Field: PT Sans
Field Font Size: 20px
Meta Font: PT Sans, Italic, Uppercase
Meta font size: 16px
Field Border Radius: 0px
Use Border: YES
Color of the border: #aaaaaa
Width of the border: 1px
Use custom styles for the button: YES
Text Size button: 20
Button text color: #ffffff
Button background color: # 02b875
Width of the border of
button: 3px

Some items, such as item meta information and avatar images, only appear when you or someone else adds a comment to the post.

post a comment to an article.jpg

That's all. The beauty of this module is that you can add additional content after the comments section (such as a call to action or a contact form), which is not easy to do with a default WordPress.

Content options of the Comment module

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

module comment divi option content.png

View the author Avatar

Disabling this option will remove the avatar of the comment author from the comment list.

Show answer button

When the Show Answer button is disabled, users will not be able to respond to comments in the comment list.

View comments

When disabled, the total number of comments will no longer be displayed above the comment list.

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]

Background color of the fields

The comment module displays a comment form composed of different input fields. By default, these input fields have a gray background color. You can change this color by choosing a custom color in the color picker.

Admin Label

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

Comments design options

On the Design tab, you'll find all the module's style options, such as fonts, colors, size, and spacing. This tab allows you to change the appearance of your module. Each Divi module has a long list of design parameters that you can use to edit just about anything.

option comment divi builder.png

Text color

Here you can choose the value of your text. If you are working with a dark background, your text needs to be highlighted. If you work with a light background, your text should be dark.

Comment font

You can change the font of your comment 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 by using bold, italic, all caps and underline options.

Comment font size

Here you can adjust the size of your comment font. You can drag the interval slider to increase or decrease the size of your text, or you can enter the desired text size value directly into the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" according to your size to change its unit type.

Text color of comments

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

Spacing of comment letters

The spacing of the letters affects the space between each letter. If you want to increase the space between each letter of your comment text, use the interval 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 units of measurement, which means that you can enter "px" or "em" according to your size to change its unit type.

Comment line height

The row height affects the space between each line of the comment text. If you want to increase the space between each line, use the interval 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 units of measurement, which means that you can enter "px" or "em" according to your size to change its unit type.

Police field

You can change the font of your text by selecting the font of your choice 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 by using bold, italic, all caps and underline options.

Field font size

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

Field text color

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

Spacing of field letters

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

text camp module comment divi.png

Field line height

Line height affects the space between each line of text in your field. If you want to increase the space between each line, use the interval 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 units of measurement, which means that you can enter "px" or "em" according to your size to change its unit type.

Meta Font

You can change the font of your meta-text by selecting the font of your choice 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 by using bold, italic, all caps and underline options.

Meta font size

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

Color of the meta-text

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

Spacing of meta letters

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

Height of the meta line

Line height affects the space between each line of your meta-text. If you want to increase the space between each line, use the interval slider to adjust the space or enter the size of the desired spacing in the input field to the right of the slider. The input fields support different units of measurement, which means that you can enter "px" or "em" according to your size to change its unit type.

Are you looking for the best WordPress themes and plugins?

Download the best plugins and WordPress themes on Envato and easily create your website. Already more than 49.720.000 downloads. [EXCLUSIVE]

Field Border Radius

The radius of the border affects how the corners of each input field are rounded. The higher the value, the more the four corners of each input field are rounded. You can reduce the value to 0 to create rectangular input fields or increase the value significantly to create input fields with circular edges.

border divi builder.png

Use the border

Enabling this option will place a border around your module. This border can be customized using the following conditional parameters.

Color of the border

This option affects the color of your border. Select a custom color in the color picker to apply it to your border.

Width of the border

By default, the borders have a width of 1 pixel. You can increase this value by dragging the slider in the range or entering a custom value in the input field to the right of the slider. Customized units of support measures, which means that you can change the default unit of "px" to something else, like em, vh, vw etc.

Border style

The borders support eight different styles, including: solid, dotted, dotted, double, groove, crest, inset, and start. Select the desired style from the drop-down menu to apply it to your border.

Custom Margin

Margin is the space added to the outside of your module, between the module and the next item above, below, or to the left and right of it. You can add custom margin values ​​to one of the four sides of the module. To delete a custom margin, remove the value added from the input field. By default, these values ​​are measured in pixels, but you can enter custom measurement units in the input fields.

Custom Padding

The padding is the space added inside your module, between the edge of the module and its internal elements. You can add custom fill values ​​to one of the four sides of the module. To delete a custom margin, remove the value added from the input field. By default, these values ​​are measured in pixels, but you can enter custom measurement units in the input fields.

Use custom styles for buttons

Enabling this option reveals the different customization settings of the buttons that you can use to change the appearance of the button on your module.

Button text size

This setting can be used to increase or decrease the size of the text in the button. The button will be scaled as the text size increases and decreases.

Button text color

By default, the buttons take the accent color of your theme, as defined in the theme's customizer. This option allows you to assign a custom text color to the button of this module. Select your custom color using the color picker to change the color of the button.

Button background color

By default, the buttons have a transparent background color. This can be changed by selecting the desired background color in the color picker.

Width of the button border

All Divi buttons have a default 2px border. This border can be increased or decreased using this parameter. Borders can be deleted by entering a value of 0.

box shadow divi builder module comment.png

Button border color

By default, the button borders take the accent color of your theme, as defined in the theme's customizer. This option allows you to assign a custom border color to the button on this module. Select your custom color using the color picker to change the color of the button border.

Radius Border button

The radius of the border affects how the corners of your buttons are rounded. By default, the buttons in Divi have a small radius that rounds the corners of 3 pixels. You can reduce it to 0 to create a square button or increase it significantly to create circular-edge buttons.

Spacing of button letters

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

Police button

You can change the font of your text by selecting the font of your choice 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 by using bold, italic, all caps and underline options.

Add button icon

Disabled this setting will remove the icons from your button. By default, all Divi buttons display an arrow icon when hovering.

Button icon

If icons are enabled, you can use this setting to select the icon to use in your button. Divi has several icons to choose from.

Color of the button icon

Adjusting this setting will change the color of the icon that appears on your button. By default, the color of the icon is the same as the text color of your buttons, but this setting allows you to adjust the color independently.

Button icon location

You can choose to display the icon of your button to the left or right of your button.

Show only the hover icon for the button

By default, button icons are displayed only during rollover. If you want the icon to always appear, turn off this setting.

Button flyover text color

When the visitor's mouse hovers over the button, that color will be used. The color will change from the base color defined in the previous settings.

Background color of the mouse

When the visitor's mouse hovers over the button, that color will be used. The color will change from the base color defined in the previous settings.

Hover border color

When the visitor's mouse hovers over the button, that color will be used. The color will change from the base color defined in the previous settings.

Easily create your Online Store

Download free WooCommerce, the best e-commerce plugins to sell your physical and digital products on WordPress. [Recommended]

Hovering Radius Button

When the button is flown over by a visitor's mouse, this value is used. The value will change from the base value defined in the previous parameters.

Spacing button rollover letters

When the button is flown over by a visitor's mouse, this value is used. The value will change from the base value defined in the previous parameters.

Comments Advanced Options

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

advanced section divi builder module comments.png

CSS ID

Enter an optional CSS ID to use for this module. An identifier can be used to create a custom CSS style or to create links 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 a custom CSS style. You can add multiple classes, separated by a space. These classes can be used in your Divi Child theme or in the custom CSS that you add to your page or website using Divi theme options or Divi Builder page settings.

Custom CSS

A custom CSS can also be applied to the module and to one of the internal elements of the module. In the custom CSS section, you will find a text field where you can add CSS directly to each element. The CSS entries in these settings are already embedded in style tags. You only need to enter CSS rules separated by semicolons.

Visibility

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

that's all for this tutorial.

This article features 2 comments

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
5 shares
Share1
tweet1
Save3