Tagged: Progress Bar
-
AuthorPosts
-
June 16, 2020 at 4:28 am #1222896
Hi Enfold Support,
we would like to issue a Progress bar with decimal points. Unfortunately, the following shortcodes will output a wrong number when used:
[av_progress bar_styling_secondary='av-small-bar' show_percentage='av-show-bar-percentage' bar_height='10' bar_styling='av-striped-bar' bar_animation='av-animated-bar' alb_description='' id='ausbildung' custom_class='' av_uid='av-kbazwdeg' admin_preview_bg=''] [av_progress_bar title='Test in %' progress='91.5' icon_select='no' icon='43' font='entypo-fontello' color='black' av_uid='av-88fo0'] [/av_progress]
progress=’91.5′ outputs 9.1.5% and not 91.5% – how can we change that?
June 16, 2020 at 4:17 pm #1223099Hey Tobias,
Could you please give us a link to your website, we need more context to be able to help you.
Best regards,
VictoriaJune 16, 2020 at 4:35 pm #1223109Hi Victoria,
thanks for your quick answer. The Link is in the private content.
Best regards,
TobiasJune 18, 2020 at 4:36 pm #1223795Hi Tobias,
Thank you for bringing this up. I will open an issue for our devs.
If you need further assistance please let us know.
Best regards,
VictoriaJune 24, 2020 at 11:18 am #1225122Hey!
Our devs provided a solution to the issue. Please update this file enfold\config-templatebuilder\avia-shortcodes\numbers\numbers.js
with this:
https://pastebin.com/Ghq5GiCsRegards,
VictoriaJune 24, 2020 at 11:27 am #1225128Hallo Victoria,
that looks great! Thank you very much!
How can we integrate the code into our Child Theme using a hook?
Thank you very much for your feedback.Tobias
June 24, 2020 at 7:52 pm #1225322Hi Tobias,
You can just update the file in the parent theme, this file will be a part of the next update.
If you need further assistance please let us know.
Best regards,
VictoriaJune 24, 2020 at 9:06 pm #1225351Hi, Vicoria,
we have updated the file numbers.js under config-templatebuilder -> avia-shortcodes -> numbers. Unfortunately the result has not changed.
progress=’91.5’
outputs: 9.1.5% not 91.5%Can you ask the dev to look at it again?
Thanks for your help.
Best,
TobiasJune 26, 2020 at 2:24 pm #1225825Hi Tobias,
Did you remove the old file and add the new and clear caches?
Best regards,
VictoriaJune 26, 2020 at 2:54 pm #1225841Thanks Vicotria,
it was a cache-problem. Now it works!
Best, Tobias
June 26, 2020 at 4:15 pm #1225922Hi Tobias,
Glad you got it working for you! :)
If you need further assistance please let us know.
Best regards,
Victoria -
AuthorPosts
- The topic ‘Progress bar with decimals’ is closed to new replies.