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 trialBird Mervilus
Courses Plus Student 2,288 PointsFont-family in CSS
h1 { font-family: 'Antic Slab', serif; margin: 10px 0; font-size: 1.75em; }
I am having a hard time with the font-family.
3 Answers
Cesar Vanbuskirk
6,672 PointsSince this is a Google font make sure you have this link tag in the head section <link href='http://fonts.googleapis.com/css?family=Antic+Slab' rel='stylesheet' type='text/css'> Hope that fixes it.
Benjamin Palladino
13,297 PointsIf you can use a different font if you don't want the trouble.
Bird Mervilus
Courses Plus Student 2,288 PointsThanks guys it still didn't work on here, but it works on my site.
Cesar Vanbuskirk
6,672 PointsCesar Vanbuskirk
6,672 Points<link href='http://fonts.googleapis.com/css?family=Antic+Slab' rel='stylesheet' type='text/css'>