Sélectionner une page

An Introduction to the Divi Number Counter Module (and How to Style It)

An Introduction to the Divi Number Counter Module (and How to Style It)

A number counter can be a beautiful and practical component of your WordPress website. They can be used to show off facts and figures about your business, or other statistics that may be of interest to your readers. Divi’s Number Counter module has everything you need to create a stunning yet informative showcase for your company’s statistics.

In this post, we’ll delve into the module’s available options, and show you three beautiful ways to style it, with step-by-step instructions for how to achieve each look. Let’s get started!

What the Divi Number Counter Module Does (And Why You’d Want to Use It)

The Number Counter module enables you to display multiple statistics as numbers or percentages, side-by-side. The module is fully customizable with options for colors, fonts, borders, and more. It is an animated module, and each number counts quickly from zero when the page is viewed:

GIF of the animated Number Counter module

Number counters are popular features on a wide range of websites. They can be applicable for virtually any business, since every company will have some sort of figures worth showcasing. Statistics often include aspects such as the number of clients you’ve helped, or how far along you are with a major project.

Counters can also give the opportunity to convey fun facts and can often be injected with a little humor, for example displaying the number of cups of coffee drank or all-nighters undertaken. It’s not for every business, but if you do go down this route, you should probably try to keep things fresh and different – otherwise you may become known as a company peddling in clichés.

Aside from conveying useful statistics at a glance, number counters can also provide an important element of social proof along with an attractive design. With that in mind, if you do decide to add a number counter to your website, it’s important to style it to fit your brand and website.

3 Beautiful Ways to Style the Divi Number Counter Module

For this piece, we’ve created three stylish designs using the Number Counter module. We’ll start with a simple and modern example, before moving onto more embellished designs.

To follow along, you’ll need to add the Number Counter to your site. Firstly, in the Divi Builder, select Insert Column(s), and choose the number of columns you want. You’ll need to add one module for each statistic, so if you want to display three numbers side-by-side (as we’re doping throughout), select the three column option:

The three column option highlighted

Next, click on Insert Module(s) in the first column and select the Number Counter module:

The Number Counter module highlighted

For the examples below, we’ll use the same three column setup, but we encourage you to change things up as you see fit. We also recommend styling the first module before copying it however many times you need.  That way, you’ll only need to alter the text as appropriate.

Before we get to our styling section, here’s a quick look at the default Number Counter module:

The default module

As you can see, the default settings provide an almost blank slate for creating your own unique look – and you have plenty of customization options to do so.

Style #1: Add a Colored Background

Although this design looks vastly different to the default module, it takes surprisingly few steps to get here. This style showcases how simply changing colors and fonts can give you a striking, modern look:

The colored background number counter

Firstly, navigate to the module’s General Settings tab, and enter your chosen Title and Number. We’re not displaying percentages, so switch the Percent Sign button to Off, change the Counter Text Color to white, and the Text Color to Light:

The General Settings tab

Then, switch to the Advanced Design Settings tab, change the Number Font to bold Monserrat, and the Background Color to #1f9bdd.

The Advanced Design Settings tab

The last thing we need to change in this tab is the padding. Scroll to the bottom and, in the Custom Padding section, enter 15px for all four fields. Your first module is now complete! Now copy it however many times you need (three in our case) using the button in the Divi Builder…

The copy button

…then drag and drop the copied modules to your empty columns. Change the numbers and titles in each, as appropriate, as well as the colors (the color we used in the second module is #1dd1c2, and the one in the third is #22c0f4).

Now all that’s left is to change the background color. For this, navigate to Section Module Settings > General Settings, where you can set the color (For ours we used #0044b2):

The section General Settings tab

That’s it – you have your beautifully modern number counter ready for action! Now let’s add some other embellishments.

Style #2: Use a Background Image

For our second design, we’ve deviated a little further from the default by adding a background image. To ensure our title and numbers still stand out over the image, we’ve introduced an overlay effect for their backgrounds:

The image background design

As we did before, head into the first module’s General Settings tab, enter your title and number, turn the percent sign off, change the Counter Text Color to black, and select Dark for the Text Color:

The General Settings tab

In the Advanced Design Settings tab change both the Title Font and Number Font to Lora, and make your Title Font italicized. For this look, we also wanted to add a translucent background so that the text stands out against the image. For this, we set the background color to rgba (255, 255, 255, 0.74). We also set the Custom Padding to 15px as we did earlier:

The Advanced Design Settings tab

Now the first module is complete, copy it however many times you need, adjust the titles and numbers, then drag and drop them into your empty columns. All that’s left is to add our background image. In Section Module Settings > General Settings, click Upload Image:

The section General Settings tab

Upload a file or select one from your media library, and there you have it – a striking number counter with an image background!

Style #3: Give Each Counter a Styled Border

For our last style we will introduce one more element that can be used to enhance your number counter’s styling – custom borders for each counter:

The styled borders final design

We’ll start once again by adding our Title and Number to the first module instance, and turning Percent Sign off. Then, we’ll change the Counter Text Color to white and the Text Color to Light:

The General Settings tab

In the Advanced Design Settings tab, select a suitable Title Font and Number Font (we’ve chosen Dancing Script). We’ve also changed the Title Font Size to 27 for legibility:

The Advanced Design Settings tab

Next, scroll almost to the bottom of the module and toggle the Use Border button to the Yes (i.e. blue) position. In the resulting options, make the Border Color white, set the Border Width to 4px, and change the Border Style to Double:

The border settings

Finally, as before, set the padding for all sides to 15px. Now you’ve customized your borders, all that’s left is to add your background image in the section settings, in exactly the same way as we did in the second style.

Now you have three very different styles to choose from, to use as a base for your next Number Counter module creation!


A number counter is a fantastic way to provide key information about your business. Visitors can learn about your team, projects, clients – and more – at a glance. While the content of your number counter is key, it’s also important that its design is appealing and fits the overall look of your site.

In this article, we’ve introduced you to Divi’s Number Counter module and shown you how to style it in three different ways. All that’s left is for you to decide which facts you want to share, then get styling!

Do you have any questions about using the Number Counter module? Let us know in the comments section below, and don’t forget to subscribe so you can follow the conversation!

Article thumbnail image by james weston / shutterstock.com.

Source link

Poster le commentaire

Votre adresse e-mail ne sera pas publiée.