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 trialMiriam Allman
Courses Plus Student 1,761 PointsMy Title is still not showing as white but rather grey, why?
Here is the CSS file /* Type Selectors */
/*
This helpful comment spans mulitple lines..... ..... */
body {
color: #878787;
margin: 0;
font-size: 1em; /* 16px */
font-family: Helvetica, Arial, sans-serif;
}
h1 { font-size: 5.625rem; /* 90px / 16px */ color: rgba(255, 255, 255, .5); text-transform: uppercase; font-weight: normal; }
h2 {
font-size: 3.3125em; /* 53px/16px /
text-decoration: underline;
}
h3 {
font-size: 1.25em; / 20px/16px */
color: #48525c;
}
/* ID Selectors */
main-footer {
padding-top: 60px;
padding-bottom: 60px;
border-bottom: solid 10px #ffa949;
}
/* Class Selectors */
.main-header {
background-color: #ffa949;
}
.title { color: white; font-size: 1.625rem; / * 26px/16px * / }
.primary-content,
.secondary-content {
width: 60%;
}
.primary-content,
.main-header {
text-align: center;
}
.t-border {
border-top: 2px solid lightgrey;
}
/* Pseudo-classes ------------------ */
a:link{
color: rgb(255, 169, 73);
}
a:visited {
color: lightblue;
}
a:hover {
color: rgba(255, 169, 73, .4);
}
a:active { color: lightcoral;
}
a:focus {
color: white;
background-color: orange;
}
2 Answers
Andreas Nyström
8,887 PointsHi!
Can you please add the HTML so we can see where you want to add the class .title (which I assume you want to be white in color?)
Miriam Allman
Courses Plus Student 1,761 PointsHi,
It's all good - I found the mistake
Miriam