New Landing How can we help? Themeforest Theme Support Dante Remove ":" in progess bar text

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #166731
    newki
    Member
    Post count: 177

    Hello,

    Dante is great thanks !
    Little question : in the progress bar tool, I removed the % at the end the progess bar so the : at the end of the text are not relevant, I’d like to remove them, how can I do?

    Thanks for your help,
    Nice day

    #166736
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    you’ll need to go in and edit the file. Go to dante/swift-framework/shortcodes.php and find this code on line 879:

    		$service_bar_output .= '<div class="progress-bar-wrap progress-'.$type.'">'. "\n";
    		if ($colour != "") {
    		$service_bar_output .= '<div class="bar-text"><span class="bar-name">'.$name.':</span> <span class="progress-value" style="color:'.$colour.'!important;">'.$value.'</span></div>'. "\n";
    		$service_bar_output .= '<div class="progress '.$type.'">'. "\n";
    		$service_bar_output .= '<div class="bar" data-value="'.$percentage.'" style="background-color:'.$colour.'!important;">'. "\n";
    		} else {
    		$service_bar_output .= '<div class="bar-text"><span class="bar-name">'.$name.':</span> <span class="progress-value">'.$value.'</span></div>'. "\n";
    		$service_bar_output .= '<div class="progress '.$type.'">'. "\n";
    		$service_bar_output .= '<div class="bar" data-value="'.$percentage.'">'. "\n";	

    After $name you’ll see the :

    There are 2 instances of this for you to change

    – Kyle

    #166744
    newki
    Member
    Post count: 177

    Perfect, tx Kyle ! Nice day

    #166745
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register