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!
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

Sara Parker
2,238 Pointshow to change font or color?
I want to change font and color on my pink text under the page "About". I only want to change this. I want the rest of the text on the other pages to stay as it is. Can someone please help me?
1 Answer

Salvador Cervantes
10,898 PointsA couple of ways to do this. If you are using one CSS file for all three pages, then you can create a <div> right after the body and give a Class. then go to the CSS file and tag that class and give it a font color and font that you want.
Now if you have another font color/style in the middle then it wouldn't change those, because of the DOM. Other then, i don't know if I can help you out besides then creating another Css file that you can add after the first one.
Brandon Kelly
3,808 PointsBrandon Kelly
3,808 Pointsyou could give each text wrapper itself a title attribute and target it in your css document and then use the color attribute and font-style or font-family attributes.