Okay
  Public Ticket #1705851
milestone
Closed

Comments

  • jcb1616 started the conversation

    Hello,

    I use the "plugin" milestone. When I write an number like 2000, it appears automaticaly the comma between the 2 and 0, like 2,000. 

    I know this is normal in the UK math system, but it is not like this in french. 

    I would like it appears 2 000 (with a space). How can I do please ?

    Thank you in advance.

  •  3,030
    Andrew replied

    Hi jcb1616,

    Could you post this question \ issue to the developers of that milestone plugin you are using as they are in a better position to assist.

    Cheers.

  • jcb1616 replied

    Hi Andrew,

    I put the word "plugin" but it's not really that. It's in "Page Builder" of the Salient theme. It is called Milestone.

  • jcb1616 replied

    Any answer ?

  •  3,030
    Andrew replied

    Hi,

    Thanks for getting back to us.

    To remove the comma you could try using the 'Motion Blur' under 'Animation Effect' in the Milestone settings as seen in the screenshot.

    Plelase let me now if this helps.

    Best Regards,

  •  3,030
    Andrew replied

    Hi,

    Unfortunately there is no option from theme settings to change the counter number separator. To change that option you would need to modify the themes\salient\js\init.js file locate the following lines (2332) and replace with the code below.

    // default options
        self.options = {
            useEasing : true, // toggle easing
            useGrouping : true, // 1,000,000 vs 1000000
            separator : ' ', // character to use as a separator
            decimal : '.', // character to use as a decimal
            easingFn: null, // optional custom easing closure function, default is Robert Penner's easeOutExpo
            formattingFn: null // optional custom formatting function, default is self.formatNumber below
        };
    

    It would be best to use cpanel/ftp to change the line.

    Kind Regards

  • jcb1616 replied

    Thanks Andrew for your reply, I'll do it.