Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14361 reviews 1715 hosting providers

Questions & Answers

Text Color is not showing correctly on my wordpress

May 16, 2012 by Susan3
I have a wordpress website and I’m having a problem with text color. It’s not displaying like it should be. The colors look different. When I view it in Ultimate Tinymce's visual mode it displays the right color, but when I preview my page it doesn't.
Here's the code that I’m using:
<p style="text-align: left;"><span style="color: #ff0000;"><strong><span style="font-family: courier new,courier; font-size: 18px;">TEXT</span></strong></p>
Instead of  red, it displays black. Links will display but regular text won't. I have no idea what’s going on. Does anyone know what could be the problem and how to solve it? Please help

3 Answers

0 votes
May 16, 2012 by tareq101
You have a html error in you code.. open 2 <span> tags and close only one, check this up and see if the text color issue fixes .
0 votes
May 16, 2012 by lionhost
Try using Firefox with the Firebug add-on for this kind of CSS work.
0 votes
May 16, 2012 by dona
Change the code as following;
<strong><span style="font-family: courier new,courier; font-size: 18px; color: #ff0000;">TEXT</span></strong>