-
Hello, a time ago I needed a solution for a point in the milestone counter:
This was the conversation (Solution):
Dear Noda, Here is the solution on this (much easier than we initially thought):
in wp-content/themes/HighendWP/scripts/jquery.custom.js, 2 changes:
line 2189: countAsset.find(‘.count-number’).text(Math.floor(this.countNum).toString().replace(/\B(?=(\d{3})+(?!\d))/g, “,”)); replace with this: countAsset.find(‘.count-number’).text(Math.floor(this.countNum).toString().replace(/\B(?=(\d{3})+(?!\d))/g, “.”));
AND
line 2193: countAsset.find(‘.count-number’).text(this.countNum.toString().replace(/\B(?=(\d{3})+(?!\d))/g, “,”)); replace with this: countAsset.find(‘.count-number’).text(this.countNum.toString().replace(/\B(?=(\d{3})+(?!\d))/g, “.”));
Hopefully it helps other people too.
It would be great of course if in the future versions of the theme this could be handled from the frontend 🙂After the theme update the point is gone, do you have an idea how I can fix it again,
thank you,
Melanie
-
HB-Themes support team typically replies to all topics within 48 hours except on weekends and public holidays. You must register to post topics.
Forum Categories
- Highend WP Theme 25,508
- Aegaeus WP Theme 1,616
- Requests and Feedback 133