Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #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?

    #1223099

    Hey Tobias,

    Could you please give us a link to your website, we need more context to be able to help you.

    Best regards,
    Victoria

    #1223109

    Hi Victoria,

    thanks for your quick answer. The Link is in the private content.

    Best regards,
    Tobias

    #1223795

    Hi 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,
    Victoria

    #1225122

    Hey!

    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/Ghq5GiCs

    Regards,
    Victoria

    #1225128

    Hallo 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

    #1225322

    Hi 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,
    Victoria

    #1225351

    Hi, 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,
    Tobias

    #1225825

    Hi Tobias,

    Did you remove the old file and add the new and clear caches?

    Best regards,
    Victoria

    #1225841

    Thanks Vicotria,

    it was a cache-problem. Now it works!

    Best, Tobias

    #1225922

    Hi Tobias,

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

Viewing 11 posts - 1 through 11 (of 11 total)
  • The topic ‘Progress bar with decimals’ is closed to new replies.