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

CSS How to Make a Website Customizing Colors and Fonts Pick Fonts and Set Relative Units

[SOLVED] How comes when i added the fonts to my index.html file, it got rid of a letter in my last name?

when i added the font file from google; my last name dropped the "t"on the preview? its still showing in the index.html file.

here is the main.css file:

#logo {text-align: center; margin: 0;}

h1 {font-family: 'playfair display', sans-serif;
    margin: 15px;
    font-size: 1.75em;}

here is the index.html file:

<title>Chris Schatz</title>
    <link rel="stylesheet" href="css/normalize.css">
    <link href='http://fonts.googleapis.com/css?family=Playfair+Display:400,900,700italic|PT+Sans:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="css/main.css">

Hi Chris,

There's not enough information here to troubleshoot this. The CSS is targeting an h1 but the posted HTML only has a title and links. Consider making a CodePen to show a live example, or post the entire HTML and CSS files.

Cheers

Edited for solved

1 Answer

Hey Robert, Thanks for the response. I actually figured it out. I was just being a dummy..

Thanks again :)

Cool, glad it's working :)