Title: The formatting of the widget title is not tagged with span.
Last modified: February 21, 2017

---

# The formatting of the widget title is not tagged with span.

 *  Resolved [wenesga](https://wordpress.org/support/users/wenesga/)
 * (@wenesga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/)
 * The formatting of the widget title is not tagged with <span>.
 * Examples:
 * It’s like this <h3 class = “widget-title”> Top 5 </ h3>
 * I wanted it to look like this: <h3 class = “widget-title”> <span> Top 5 </ h3
   >
 * To follow the style of the other Widgets.
 * How do I fix this? Can someone please help me?
 * Thank you very much in advance.
    -  This topic was modified 9 years, 3 months ago by [wenesga](https://wordpress.org/support/users/wenesga/).
    -  This topic was modified 9 years, 3 months ago by [wenesga](https://wordpress.org/support/users/wenesga/).

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [wenesga](https://wordpress.org/support/users/wenesga/)
 * (@wenesga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8830584)
 * <h3 class = “widget-title”> <span> Top 5 </span> </h3>
 *  Plugin Author [dpowney](https://wordpress.org/support/users/dpowney/)
 * (@dpowney)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8832403)
 * Hi wenesga,
 * If you’re comfortable with PHP and HTML, you can modify the rating-result-list.
   php template file. See here [http://multiratingpro.com/documentation/template-system](http://multiratingpro.com/documentation/template-system).
 * There’s also another support topic related to the widget CSS class and HTML structure
   tracked here [https://wordpress.org/support/topic/widgets-not-right/#post-8832392](https://wordpress.org/support/topic/widgets-not-right/#post-8832392)
 * Thanks,
    Daniel
    -  This reply was modified 9 years, 3 months ago by [dpowney](https://wordpress.org/support/users/dpowney/).
 *  Thread Starter [wenesga](https://wordpress.org/support/users/wenesga/)
 * (@wenesga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8834122)
 * Hi dopowney
 * I found the code block that does this …
 *     ```
       if ( ! empty( $title ) ) {
   
                   $before_title = apply_filters( 'mr_rating_results_list_before_title', $before_title );
                   $after_title = apply_filters( 'mr_rating_results_list_after_title', $after_title );
   
                   echo "$before_title" . esc_html( $title ) . "$after_title";
       	}
       ```
   
 * Can not find where by this tag `<span>` … where do I put this tag?
    -  This reply was modified 9 years, 3 months ago by [wenesga](https://wordpress.org/support/users/wenesga/).
 *  Plugin Author [dpowney](https://wordpress.org/support/users/dpowney/)
 * (@dpowney)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8841956)
 * Just change it to:
 *     ```
       if ( ! empty( $title ) ) {
           echo '<h3 class="widget-title"><span>' . esc_html( $title ) . '</span></h3>';
       }
       ```
   
 * Make sure you follow the template system documentation and do not use the WordPress
   theme editor to modify files (use FTP instead to be safe).
 * Thanks,
    Daniel
    -  This reply was modified 9 years, 3 months ago by [dpowney](https://wordpress.org/support/users/dpowney/).
 *  Thread Starter [wenesga](https://wordpress.org/support/users/wenesga/)
 * (@wenesga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8843389)
 * I’m very grateful to you for helping me
 *  Thread Starter [wenesga](https://wordpress.org/support/users/wenesga/)
 * (@wenesga)
 * [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8849404)
 * The Multi rating plugin is not compatible with Mozilla Firefox … I tested it 
   in Internet Explorer, Chrome, Edge, but in Mozilla Ferefox got this bug, as shown
   in the image.
 * ![Print of the Multi Rating bug](https://i0.wp.com/www.weidroid.com.br/wp-content/
   uploads/2017/02/Sem-t%C3%ADtulo.png?ssl=1)
    -  This reply was modified 9 years, 3 months ago by [wenesga](https://wordpress.org/support/users/wenesga/).
    -  This reply was modified 9 years, 3 months ago by [wenesga](https://wordpress.org/support/users/wenesga/).

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘The formatting of the widget title is not tagged with span.’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/multi-rating_d6dfe6.svg)
 * [Multi Rating](https://wordpress.org/plugins/multi-rating/)
 * [Support Threads](https://wordpress.org/support/plugin/multi-rating/)
 * [Active Topics](https://wordpress.org/support/plugin/multi-rating/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multi-rating/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multi-rating/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [wenesga](https://wordpress.org/support/users/wenesga/)
 * Last activity: [9 years, 3 months ago](https://wordpress.org/support/topic/formatacao-do-titulo-do-widget/#post-8849404)
 * Status: resolved