Title: Span Style Color not working inside php echo!
Last modified: August 22, 2016

---

# Span Style Color not working inside php echo!

 *  Resolved [ravock](https://wordpress.org/support/users/ravock/)
 * (@ravock)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/span-style-color-not-working-inside-php-echo/)
 * Guys little help here:
 *     ```
       add_action( 'widgets_init', 'thinkup_widgets_init' );
   
       function test_shortcode(){
       return '
       [simple_tooltip content="<strong>Marca Superior de Dano de Ataque:</strong><br />
       Nível: <span style&quot;color: #00ff00&quot;>20</span><br />
       <span style=&quot;color: #ff0000;&quot;>+0.95</span> de Dano de Ataque"]
   
       <img src="http://leagueoflegendsbrasil.com/wp-content/uploads/2014/11/runaataque.png" alt="leagueoflegends" width="50" height="50" />
   
       [/simple_tooltip]';
   
       }
   
       add_shortcode('test', 'test_shortcode');
       ```
   
 * When everything shows up greatly, but when the tooltip appears(Simpletooltip)
   for some reason the style color that I’ve changed is not working

Viewing 1 replies (of 1 total)

 *  Thread Starter [ravock](https://wordpress.org/support/users/ravock/)
 * (@ravock)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/span-style-color-not-working-inside-php-echo/#post-5536965)
 * fixed it.

Viewing 1 replies (of 1 total)

The topic ‘Span Style Color not working inside php echo!’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [ravock](https://wordpress.org/support/users/ravock/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/span-style-color-not-working-inside-php-echo/#post-5536965)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
