Okay
  Public Ticket #2847473
Remove percentage sign from advanced progress bar
Closed

Comments

  • Denis started the conversation
    5018169213.png
  •  1,798
    Support Agent replied

    Hi, Denis!

    Thank you for contacting us. 

    We don't have enough information from your ticket. 

    Please be more specific.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!

  • Denis replied

    I need to hide the display of percentages so that only the number remains, how can this be implemented? perhaps css code?

    Attached files:  hide percentage.png
      hide percentage1.jpg

  •  1,798
    Support Agent replied

    Hi Denis,

    Thanks for clarification.

    It is not possible to do it with CSS since both the text and '%' sign are in the same div tag.

    It can be removed in the theme code, though please note that you will need to reapply the changes with each new theme update.

    If you want to edit the code, locate bt_bb_progress_bar_advanced.js file in /wp-content/themes/prohauz/bold-page-builder/content_elements_misc/js folder.

    You need to edit the following two lines of code and remove + '%' part.

    semicircle.setText( value + '%');

    and

    circle.setText( value  + '%' );
    

    To clarify, only the word 'value' should remain in parenthesis.

    Let us know if you need help with anything else.

    Regards, BoldThemes team

    If you like our products please consider leaving us a rating. A huge thank you from BoldThemes in advance!