The number counter module on the WordPress theme Divi is a great way to display numbers in a fun and engaging way. This module is commonly used to display statistics about you or your business. For example, displaying your number of customers or followers on Facebook is a great way to showcase social proof.

display number divi wordpress.png

How to add the module Counter number of Divi

Before you can add a counter module to your page, you must first jump into the Divi Builder. Once the Divi theme 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 have entered 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.

divi.png number counter

Locate the number counter 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 the word "number counter" and then click "Enter" to automatically find and add the number counter 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: Using the digital counter module to display the results of a project

A great way to use the number counter module is to illustrate the statistics for the case studies. Just label each counter with a number so the user can easily see the success of the project. In this example, I'm using the digital counter module to display four project results.

As you can see, the top of the page includes the three objectives of the project using the module " Bar counter And the bottom of the page includes the results of the case study using the digital counter modules.

example compteur.gif

The section of the page that shows the results of the case study using the digital modules requires the use of a specialized section. Using Visual Builder, add a specialized section to the page and select the following layout:

custom section divi.png

Select a 1 column layout for the right side of the section and enter the title and text required for the case study results.

insertion range divi.png

Insert a layout of 2 columns directly under the 1 column layout on the right side of the section.

divided divi.png column

Now add your first number counter module to the left column.

add a section number divi.png

Update the parameters of the number counters as follows:

Content options

Title: New Visitors
Number: 54210
Sign percentage: OFF

Design options

Color of text: Dark
Font of the title: default
Title Font Size: 20px
Title Text Color: # 405c60
Height of the title line: 1em
Number of characters: Default, Bold
Number of characters: 60px
Number Text color: # e07a5e
Number Line Height: 72px

content section number divi.png

Save settings

Duplicate the Number Counters module and drag it into the adjacent right column and update the Title and Number options.

counter number example construction.png

Duplicate the line that contains the two number counter modules so that two more number counters are displayed below.

digital counter duplication divi.png

Then update the Title and Number options for those. Now you have all four full number counters.

Don't forget to add the 667 x 320 image in the left column / side of the specialized section.

It's finish ! The combination of number counters and bar counters on this case study page really makes the content engaging.

Final realization module compteur.png

Digital Counter Content Options

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

selected area content wordpress divi.png

Title

Enter a title for the counter. This will be displayed under the number in smaller text.

Name

This is the number that the counter will count. As you scroll down the page and reach the counter, the number quickly counts from 0 until it reaches the number you set here. Only numeric values ​​can be placed here.

Percent sign

Here you can choose whether the percentage sign should be added after the number defined above.

Background color

Define a custom background color for your module or leave blank to use the default color.

Background picture

If set, this image will be used as the background for this module. To remove a background image, just remove the URL from the settings field. The background images will appear on top of the background colors, which means that the background color will not be visible when a background image is applied.

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.

Design options (Style) of the digital meter

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.

zone design counter divi.png

Text color

Here you can choose whether your title 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.

Title Font

You can change the font of your title 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.

Title font size

Here you can adjust the size of your title 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 units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Title text color

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

Spacing of title letters

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

Height of the title line

Line height affects the space between each line of your title text.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 units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Fonts of the number

You can change the font of your 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.

Font size of the number

Here you can adjust the size of your digital 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 units of measure, which means you can enter "px" or "em" depending on your size value to change its unit type.

Color of digital text

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

Spacing of digital letters

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

Line height of the number

Line height affects the space between each line of your numeric text If you want to increase the space between each line, use the range slider to adjust the space or enter your desired spacing size in the input field located to the right of the cursor. 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.

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. Custom units of measure supported, 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: solid, dotted, dotted, double, groove, ridge, overlay, and start. Select your desired style from the drop-down menu to apply it to your border.

Custom padding

Infill 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 the 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.

Advanced number counter 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.

digital counter section design.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.

[vc_row center_row = "yes"] [vc_column width = "1/2 ″] [vcex_button target =" blank "layout =" expanded "align =" center "font_family =" Raleway "font_weight =" 700 ″ style = "flat" custom_background = "# 18b69d" custom_hover_background = "# 118d7a" custom_color = "#ffffff" custom_hover_color = "#ffffff" icon_right = "fa fa-download"] DOWNLOAD THE DIVI THEME [/ vcex_button] [/ width_column] [»vc_column] [» 1/2 ″] [vcex_button url = "https://www.elegantthemes.com/affiliates/idevaffiliate.php?id=23065&url=40632&tid1=tutorials" target = "blank" layout = "expanded" align = "center" font_family = "Raleway" font_weight = "700 ″ style =" flat "custom_background =" # c4226e "custom_hover_background =" # 8d184f "custom_color =" #ffffff "custom_hover_color =" #ffffff "icon_right =" fa fa-download "] DOWNLOAD TEMPLATES DIVI [/ vcex_button] [/ vc_column] [/ vc_row]

Other Divi tutorials