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 trialJamison Imhoff
12,460 PointsFont Type in Chrome
Just wondering if the "Abolition Regular" Font should be working in google chrome after this video. I placed the code and followed along with the video, but when I preview the page, it still shows helvetica font.
Chrom is up to date btw.
5 Answers
Glenn Jacobs
1,900 PointsJamison,
You made the same mistake I did. The code should read "@font-face". We left out the hyphen between font and face.
Andreas Anastasiades
2,916 PointsJamison,
Take Glenn's advice. It should be @font-face That should fix your problem
Jamison Imhoff
12,460 Pointsthat did it! sometimes the answer is so obvious! xD
Jacob Mishkin
23,118 PointsGlenn is right! just checked on MDN. totally missed that. Good catch.
Jacob Mishkin
23,118 PointsIf you downloaded the font from Google Fonts, it should work in chrome. Can you paste your CSS into the question so we can take a look at it. Maybe its just a simple error. thanks.
Jacob Mishkin
23,118 PointsThe only thing I can see that might be an issue is that your using font: 1em/1.5 "Helvetica Neue", Helvetica, Arial, sans-serif; in your body tag, and there might be a inheriting issue with your H1 tags. Just a thought.
Jamison Imhoff
12,460 Pointsinteresting thought...
i messed with it a bit, but still no difference =/
Jacob Mishkin
23,118 PointsThe only other thing I can think of is that there might be an issue with the url's. If there is no issue with the body style. I can't see anything else that is wrong. Sorry wish I could help.
Jamison Imhoff
12,460 Pointsit may just be an issue on my end. no worries! Thanks.
Jamison Imhoff
12,460 PointsJamison Imhoff
12,460 PointsCode: I just attached the first section that deals with the fonts.