The comments module allows you to place a online form comments anywhere on your page. If you are using a standard page or post without the Divi Builder, comments will still appear below your post content.
Once the Divi Builder is activated, you can place the comments module anywhere on your page and online form comments will appear at the location of the module. This gives you much more control over your comments!
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 installed on your website, you will notice a button Use Divi Builder above the publisher each 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 button Use Visual Builder to start the generator in visual mode. You can also click the button Use Visual Builder when you are 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 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 you can also type in the word "comments" and then click enter to automatically find and add the comments module! Once the module is added, you will be greeted with the list of module options. These options are separated into three main groups: Contents , Design et Advanced .
Use case adding a comments section to your blog post
For this example, I'll show you how easy it is to insert and format a comments module in your post using Visual Builder.
Note that the comment section is added below the post content and above a three column footer section. However, the comment module could have been added anywhere.
Using Visual Builder, add a standard section with a full-width row (1 column) below Modules that contain your post content. Then add the Comments module to the row.
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 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 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.
Show Author Avatar
Disabling this option will remove the comment author's avatar from the comments 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 comments list.
Background color of the fields
The comments module displays a online form comment 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 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.
Comments design options
In the Design tab, you will find all the module styling options, 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.
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 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 into 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.
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 from the color picker using this option.
Spacing of comment letters
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 into 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.
Spacing of field letters
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 into 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.
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 you want from the color picker using this option.
Spacing of meta letters
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.
Height of the meta line
Line height affects the space between each line in 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 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.
Field Border Radius
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 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 from the color picker to apply it to your border.
Width of the border
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 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, 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.
Width of the button border
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.
Spacing of button letters
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 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.
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 the icon of your button to the left or right of your button.
Show only hover 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 flyover 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.
Background color of the mouse
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.
Hovering 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.
Spacing button rollover letters
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.
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 theme Child or in custom CSS that you add to your page or website using Divi Theme Options or 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. The CSS entries in these settings are already embedded with style tags. So you just have 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 modules on different devices or if you want to simplify the mobile design by eliminating certain elements from the page.
that's it for this tutorial.
Hello; Hello! But is there a way to comment under the form instead of above?
Hello,
It takes some CSS knowledge for this.