Okay
  Public Ticket #1977529
Comma in Milestone
Closed

Comments

  • Chloé started the conversation

    Hi!

    I have a Milestone at the bottom of my pages, counting the number of clients that I have. My Milestone currently says "1,160" with a comma between 1000 and 160. 

    But my website is in French and in French, we don't use a comma to separate thousand groups: the comma is used as a decimal separator. So instead of reading "One thousand and one hundred sixty clients", people read "One point one sixty clients", which is... not ideal !

    But I have noticed that in the mobile version of my website, the comma is not there!

    So I was wondering if there was anyway to remove this comma from the desktop version of my website too... 

    Thanks !

    Chloé

  •   Tahir replied privately
  • Chloé replied

    Hi Tahir!

    Thank you for your answer!

    I am not sure what the Blur Style is..? Where can I find it?

    Just to be clear, I don't want to remove the Milestone from Desktop, I just want to remove the comma in the Milestone (the one that appears in Desktop but not in Mobile). 

    Thanks again!

  •  8,994
    Tahir replied

    Hey Again,

    Use these options : http://prntscr.com/ne3hwa . 

    Best


    ThemeNectar Support Team 

  • Chloé replied

    Thanks Tahir! 

    I tried, and the comma is not there anymore, so that's great, but it changes the font... 

    Is it normal? I didn't change anything else, the Milestone Number Inherit Font is still the same, so I don't understand why it is doing that...

  •  8,994
    Tahir replied

    I am still not seeing the blur option in there ?.  The font should not change. 

    Best


    ThemeNectar Support Team 

  • mattheoparker replied

    Hi Tahir, hi Chloé

    French here as well and trying to do the same thing as Chloé, i.e Remove comma thousands separator in Milestone and keep "Count to Value" animation. 

    Is it possible? 


    Thanks

  •  8,994
    Tahir replied

    @Mattheoparker,

    No i am afraid thats not possible at the moment. 

    Best


    ThemeNectar Support Team 

  • mattheoparker replied

    Alright, thanks anyway.

  •   Chloé replied privately
  •  8,994
    Tahir replied

    The font is changed as when you use count option it it wrapped in a H3 html tag . 

    Please clear your cache using this guide: https://themenectar.ticksy.com/article/6226/ 

    Add this into the Custom CSS box located in your Salient Options panel (All custom css provided is tested in the Live Browser so it will work as intended . If you cant see any changes make sure there is no red cross in the Custom CSS Box as that syntax error would cause all css below it to not show up on the Frontend):

    .nectar-milestone .number {
        font-family: Playfair Display !important;
    }

    Thanks


    ThemeNectar Support Team 

  • Chloé replied

    Thanks Tahir, it works !

  •  2
    Clara replied

    Hi,

    I'm French and I'm facing the exact same issue as Chloé. I noticed it was possible to change the separator by editing the init.js file, however I can't override this file or just the function. Editing the parent file being not a good practice at all, I'm not gonna do it. So please, it's not a big thing to develop and it would be really useful for users like us. It's just about getting the locale and apply decimal and separator according to the locale.

    Best regards,

    Clara.

  •  8,994
    Tahir replied

    Hey Again,

    Its in the Wishlist. 

    Best 


    ThemeNectar Support Team