Divi 5’s Number Counter only understands commas in big numbers: “1.250.000” counts up to 1250 and “1 250 000” counts up to 1, and there’s no option to choose the format. Divi Doctor adds a Thousands Separator and a Decimal Mark to the module, applied while the number counts up and when it stops. This page covers the options, how typed numbers are read, and the limits.
Switch it on
- Go to Divi Doctor → Features.
- Under Number Counter module, find the Thousands separator card and click Enable.
Existing counters don’t change. A module left on Default (as typed) shows the number as typed, like Divi.
Format a number
- Open the page in the Visual Builder and open the Number Counter’s settings.
- In Content → Text, type the number into Number, with or without separators, for example
1250000. - Right after Number, choose a Thousands Separator.
- If the number has decimals, check the Decimal Mark.
- Check the builder preview, then save the page, clear any page cache and check the page logged out.
| Option | What it does | Default |
|---|---|---|
| Thousands Separator | Default (as typed), Comma (1,250,000), Period (1.250.000), Space (1 250 000) or Apostrophe (1’250’000). Default shows the number as typed, like Divi. | Default (as typed) |
| Decimal Mark | Auto, Period (99.5) or Comma (99,5). Auto uses a comma when the thousands separator is a period, and a period otherwise. Shown once a separator is chosen. | Auto |
- If you pick the same mark for decimals as for thousands, the other mark is used for decimals.
- Space uses a non-breaking space, so a number never wraps onto two lines.
- Both options can be saved in presets. They have one value for all screen sizes.
How the typed number is read
Once a separator is chosen, you can type the number however you like. Divi Doctor reads it like this:
- Spaces and apostrophes are always thousands separators.
- With both a period and a comma, the one that comes last is the decimal mark, so
1.250,5and1,250.5are the same number. - A period or comma that appears more than once is a thousands separator, as in
1.250.000. - A single period or comma with exactly three digits after it, as in
1.250, is a thousands separator only when it’s the separator you chose. Otherwise it’s the decimal mark, as in1234.5or99,5. - Text after the number, as in
1500+, is kept. Text before the number stops Divi’s count-up, as it does without Divi Doctor. - Anything that isn’t a number is shown as typed.
What changes on the page
Divi still counts the number up. Every value it shows is written in your format: each step of the count-up, the final number, and hover and sticky values. The percent sign isn’t changed. Your Number field keeps what you typed.
How it works
Before the module renders, Divi Doctor turns the Number into a plain number that Divi’s count-up reads correctly. A small script, loaded only on pages with a counter that uses a separator, then shows each number Divi writes in the chosen format. The script only changes the text of the counter’s number. The builder preview works the same way.
Limits
- Divi 5 only.
- Like Divi’s counter, the number needs JavaScript to show.
- A single mark followed by three digits is read as a thousands separator only when it’s the chosen separator (see above).
- Text typed before the number stops the count-up.
- Turning the feature off brings back Divi’s behavior straight away. The settings stay saved in your modules and are ignored, and a number typed with periods or spaces is read Divi’s way again, so
1.250.000counts up to 1250.
Questions
Does Divi 5 support a thousands separator in the Number Counter?
Not on its own, but Divi Doctor adds one. Divi 5’s Number Counter only understands commas in big numbers, so “1.250.000” counts up to 1250. With the Thousands separator feature on in Divi Doctor → Features, the module gets a Thousands Separator option: comma, period, space or apostrophe. The format is applied while the number counts up and when it stops.
How do I show 1.250.000 with periods in the Divi Number Counter?
Choose Period (1.250.000) in Thousands Separator, right after Number in the module’s Content → Text. You can type the number with or without separators, for example 1250000. With Decimal Mark on Auto, decimals then use a comma, because the thousands separator is a period. Save, clear any page cache and check the page logged out.
Can the Divi Number Counter use a comma as the decimal mark?
Yes. Once a thousands separator is chosen, a Decimal Mark option appears with Auto, Period (99.5) or Comma (99,5). Auto uses a comma when the thousands separator is a period, and a period otherwise. If you pick the same mark for decimals as for thousands, the other mark is used for decimals.
Does the Divi Number Counter keep a plus sign after the number?
Yes. Text after the number, as in 1500+, is kept. Text before the number stops Divi’s count-up, as it does without Divi Doctor, and the percent sign isn’t changed. Every value Divi shows is written in your format: each step of the count-up, the final number, and hover and sticky values.
Can I save the Number Counter’s thousands separator in a Divi preset?
Yes. Both Thousands Separator and Decimal Mark can be saved in presets, and they have one value for all screen sizes. Existing counters don’t change when you enable the feature: a module left on Default (as typed) shows the number as typed, like Divi.
What happens to my Divi Number Counter if I turn the feature off?
Divi’s behavior comes back straight away. The settings stay saved in your modules and are ignored, and a number typed with periods or spaces is read Divi’s way again, so 1.250.000 counts up to 1250. Your Number field keeps what you typed.
If the counter still shows the old format, clear the page cache. See also Features and bug fixes in the FAQ.