• For some reason the text is showing up gray, bot black. I have tried using other black codes and that didn’t help. The color thats showing up isn’t even the default header color. Does anyone know why this could be happening?

    <h1><span style="color: #000000;"><small><small><small><strong>The Treehouse?shows our appreciation to our customers by offering the following services:</strong></small></small></small></span></h1>

    https://treehousegreengifts.com/newsite/services/

Viewing 3 replies - 1 through 3 (of 3 total)
  • This is what is in your source code
    <span style="color: #19070B;">

    <h1><span style=”color: #000000;”><small><small><small>The Treehouse shows our appreciation to our customers by offering the following services:</small></small></small></span></h1>

    Whatever color you use will not work because you are targeting [span-small], you should be targeting the text itself.

    1. A quick way to fix:
    modify the small class color value.
    small {
    color: #000;
    }

    2. Another way to do this:
    remove the small class in there.

    <h1><span style=”color: #000000; font-size: 16px; “>The Treehouse shows our appreciation to our customers by offering the following services:</span></h1>

    Let me know if that helps.

    cheers

    Thread Starter thetreehouse

    (@thetreehouse)

    myfreelance101 Yes that worked, thank you!!!!! I did option 2. This was making me absolutely bonkers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘html color code not working’ is closed to new replies.