Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS How to Make a Website CSS: Cascading Style Sheets What is CSS?

Carlos Belnap
Carlos Belnap
4,564 Points

How to use CSS to set the color of text

Inserted both green and orange footer style, but paragraph text is still black. Why?

Also, img 09 shows as a broken img.

<head>
    <meta charset="utf-8">
    <title>Brother Gum | Secular Pastor</title>
    <link rel="stylesheet" href="css/normalize.css">
    <style>
      footer {
        color: green;
      }
       footer {
        color: orange;
      }
    </style>
  </head>

 <li>
          <a href="img/numbers-09.jpg">
            <img src="img/numbers-09.jpg" alt="">
            <p>Drips created using Photoshop brushes.</p>
            </a>
        </li>
Seth McCombs
Seth McCombs
16,767 Points

Hey there Carlos! Could you post the HTML you are using? You can you the markdown cheatsheet below if you need help!

James Barnett
James Barnett
39,199 Points

Carlos Belnap -

I fixed the formatting in your post and edited the title to make it a little clearer

Can you post the footer section of your html?

2 Answers

Carlos Belnap
Carlos Belnap
4,564 Points

Thank you all for your help, I was able to fix the issue. I must have accidentally made a change to the normalize.css file. I deleted the file, then re-uploaded it and that's when everything started to work properly. Thanks again!

Danielle Hill
Danielle Hill
26,062 Points

Hi Carlos. Is your footer text inside a p tag? If so, you may want to try using that tag as your selector to change the font color.