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 trialjay shah
2,293 PointsHow do i add custom fonts on my website if I do not use google fonts?
I cannot find the link to put the code into my index.html
2 Answers
JUAN GUERRERO
170 PointsHello Jay, there are some websites that give you the css code that import the font right to your website. But first you need to link this css file to your html file. Check this website and pick a font you like. http://www.fontsquirrel.com/
And then in the font information it has to say webfontkit and you need to download the file.
Let me know if you have any question. Maybe I could give you a hand.
jay shah
2,293 PointsThank you!!
jay shah
2,293 Pointsjay shah
2,293 PointsOk so i got the stylesheet.css from fontsquirrel... but where do i put it??
Here is my code
<!DOCTYPE html> <html> <head> <meta charset="utf-8" > <title>Jay Shah | Designer</title> <link rel="stylesheet" href="css/normalize.css"> <<<<< (DO I PUT IT BETWEEN HERE????)>>>>> <link rel="stylesheet" href="css/main.css">
</head> <body> <header> <a href="index.html" id="logo"> <h1>Jay Shah</h1> <h2>Designer</h2> </a> <nav> <ul> <li><a href="index.html" class="selected">Portfolio</a></li> <li><a href="about.html">About</a></li> <li><a href="contact.html">Contact</a></li> </ul> </nav> </header> <div id="wrapper"> <section> <ul> <li> <a href="img/numbers-01.jpg"> <img src="img/numbers-01.jpg" alt=""> <p>Experimentation with color and texture.</p> </a> </li> <li> <a href="img/numbers-02.jpg"> <img src="img/numbers-02.jpg" alt=""> <p>Playing with blending modes.</p> </a> </li> <li> <a href="img/numbers-06.jpg"> <img src="img/numbers-06.jpg" alt=""> <p>Trying to create an 80's style of glows.</p> </a> </li> <li> <a href="img/numbers-09.jpg"> <img src="img/numbers-09.jpg" alt=""> <p>Drips.</p>
</a> </li> <li> <a href="img/numbers-12.jpg"> <img src="img/numbers-12.jpg" alt=""> <p>Shapes created using repitition.</p> </a> </li>
</ul> </section> <footer> <a href="http://twitter.com/jayshah"><img src="img/twitter-wrap.png" alt="Twitter Logo"></a> <a href="http://facebook.com/thebeboinjay"><img src="img/facebook-wrap.png" alt="Facebook Logo"></a> <p>© 2014 Jay Shah.</p> </footer> </div> </body> </html>