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

HTML Introduction to HTML and CSS (2016) HTML: The Structural Foundation of Web Pages and Applications The Basic Structure of a Web Page

Matteo Fossati
Matteo Fossati
3,938 Points

Hi everyone! (just for fun's sake) I tried changing the font link in the <head> tag but the font remains the same... why

I replaced this <link href="https://fonts.googleapis.com/css?family=Muli%7CRoboto:400,300,500,700,900" rel="stylesheet">

with this <link href="https://fonts.googleapis.com/css?family=Playfair+Display+SC" rel="stylesheet">

new font doesn't run (it remains Roboto)

Can please everyone explain me why? Thanks so much


1 Answer

Antony .
Antony .
2,824 Points

You also have to apply the font on the element you desire to have it on.

font-family: 'Playfair Display SC', serif;