comment module on divi

The comment module on Divi allows you to place a comment from anywhere on your page. If you are using a standard page or a post without Divi Builder, the comments will still appear below the content of your post.

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

How to add a Comment module on Divi to your page

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

By clicking on this button, you activate Divi Builder, which gives you access to all the Divi Builder modules. Then click on the Use Visual Builder button to launch the builder in visual mode. You can also click the Use Visual Builder button while browsing your upstream website if you are logged in to your WordPress dashboard.

Once entered into Visual Builder, you can click the gray plus 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.

Locate the comment module on Divi 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 “comments” and then click enter to automatically find and add the comment module on Divi! Once the module is added, you will be greeted with the list of module options. These options are separated into three main groups: Content, Design, and Advanced.

comment module on divi

Use case adding a comment module on Divi to your blog post

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

Note that the comment module on Divi is added below the post content and above a three-column footer section. However, the comment module on Divi could have been added anywhere.

Using Visual Builder, add a standard section with a full-width row (1 column) below Modules containing your post content. Then add the comment module on Divi to the row.

Update the comments settings as follows:

Content options

Field background color: #ffffff

Design options

Text color: Dark
Comment Font: PT Sans
Comment Font size: 20px
Comment Text color: Field
Font: PT Sans Field
Font size: 20px Meta
Font: PT Sans, Italic, Uppercase
Meta Font size: 16px
Champs border radius: 0px
Use border: YES
border Color: #AAAAAA
border width: 1px
Use custom styles for the button: YES
button text Size: 20
Color button text: #ffffff
Color back- button plane: # 02b875
Button border width : 3px

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

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

Comment module on Divi content options

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 in this tab.

Show Author Avatar

Disabling this option will remove the comment author’s avatar from the comments list.

Show answer button

When the Show Reply button is disabled, users will not be able to reply to comments in the comments list.

Show comments

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

The background color of controls

The comment module on Divi displays a comment form made up of different input fields. By default, these input fields have a gray background color. You can change this color by choosing a custom color from 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.

Comment design options

In the Design tab, you will find all the styling options for the module, such as fonts, colors, size, and spacing. This tab allows you to modify the appearance of your module. Each Divi module has a long list of design settings that you can use to tweak just about anything.

Text color

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

Comments font

You can change the font of your comment by selecting the desired font from the drop-down menu. Divi comes with dozens of awesome 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, 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 directly enter the desired text size value 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 to change its unit type.

Comment 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 from the color picker using this option.

Comment letter spacing

Letter spacing 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 measure, which means you can enter “px” or “em” depending on your size to change its unit type.

Comment line height

Line height affects the space between each line of comment text. If you want to increase the space between each line, use the interval slider to adjust the space or enter the desired space 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 to change its unit type.

Police field

You can change the font of your text by selecting the desired font from the drop-down menu. Divi comes with dozens of awesome 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, 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 directly enter the desired text size value 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 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 from the color picker using this option.

Field letter spacing

Letter spacing affects the space between each letter. If you want to increase the space between each letter of the text in your field, 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 measure, which means you can enter “px” or “em” depending on your size to change its unit type.

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 space 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 to change its unit type.

Meta Font

You can change the font of your meta-text by selecting the desired font from the drop-down menu. Divi comes with dozens of awesome 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, 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 directly enter the desired text size value 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 to change its unit type.

Meta-text color

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 you want from the color picker using this option.

Meta letter spacing

Letter spacing 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 desired spacing 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 to change its unit type.

Meta line height

Line height affects the space between each line in your meta-text. If you want to increase the space between each row, use the interval slider to adjust the space or enter the size of the space you want 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 to change its unit type.

Radius Border Fields

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

Use border

Enabling this option will place a border around your module. This border can be customized using the following conditional parameters. Border color This option affects the color of your border. Select a custom color from the color picker to apply it to your border.

Border width

By default, the borders are 1 pixel wide. You can increase this value by dragging the range slider or entering a custom value in the input field to the right of the slider. Support custom units of measurement, which means you can change the default unit from “px” to something else like em, vh, vw, etc.

Border style

Borders support eight different styles, including solid, dotted, dotted, double, groove, ridge, inset, and start. Select the style you want from the drop-down menu to apply it to your border.

Custom Margin

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

Custom Padding

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

Use custom styles for buttons

Enabling this option reveals the various button customization settings that you can use to change the appearance of your module’s button.

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 on your theme’s accent color, as defined in the Theme 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 button color.

Button background-color

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

Button border width

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

Button border color

By default, button borders take on your theme’s accent color, as defined in the Theme Customizer. This option allows you to assign a custom border color to the button of 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 by 3 pixels. You can reduce it to 0 to create a square button or increase it significantly to create buttons with circular edges.

Button letter spacing

Letter spacing 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 desired space 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 to change its unit type.

Police button

You can change the font of your text by selecting the desired font from the drop-down menu. Divi comes with dozens of awesome 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, italic, all caps, and underline options.

Add button icon

Disabled this setting will remove 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 which icon to use in your button. Divi has several icons to choose from.

Button icon color

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

Button icon location

You can choose to display your button icon to the left or right of your button. Show only hover the icon for button By default, button icons are only displayed when hovering. If you want the icon to always appear, turn this setting off.

Button hover text color

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

Mouse background-color

When the visitor’s mouse hovers over the button, this 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, this color will be used. The color will change from the base color defined in the previous settings.

Hover radius button

When the button is hovered over by a visitor’s mouse, this value is used. The value will change from the base value defined in the previous settings.

Button hover letter spacing

When the button is hovered over by a visitor’s mouse, this value is used. The value will change from the base value defined in the previous settings.

Read more: Best Divi templates/layouts to download for free

Comments Advanced options

On the Advanced tab, you’ll find options that more experienced web designers may 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.

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 that you add to your page or 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 internal elements. In the Custom CSS section, you will find a text field where you can add CSS directly to each element. CSS entries in these settings are already embedded with style tags. You just 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 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 removing some elements from the page.

 

For website maintenance service contact us.

Leave a comment

echo "";