If I could marry a “thing” it would most definitely be a font. I love fonts because they are so beautiful and sexy. Be still my beating heart. Factoria, you make me weak in the knees. However, any relationship can be complicated, especially when you are embedding them into a WordPress site. Loading fonts directly using CSS3 @font-face is not always the best solution, but sometimes you just really need those bad boys!
The most direct way of adding custom fonts is by adding them using CSS3 @font-face method. This method allows you to use any font that you like on your website.
The first thing you need to do is download the font that you like in a web format. If you do not have the web format for your font, then you can convert it using the FontSquirrel Webfont generator.
Once you have the webfont files, upload it to your web hosting server with FTP or the File Manager of your cPanel. Once you have uploaded the font, you need to load it to your theme’s stylesheet using CSS3 @font-face rule like this:
Don’t forget to replace the font-family and URL with your own. After that you can use that font anywhere in your theme’s stylesheet.
BACK TO ALL TIPS AND TRICKS