Your webfont order comes with a dynamically generated sample CSS code. Simply use this code to embed the fonts in your website!
Before installing the font, extract the font files from the
.zipfile you have downloaded after your order.
Once you have the font files, you will need to upload them to your web server. This can be done using an FTP client such as FileZilla. Connect to your server using the FTP credentials provided by your hosting provider, and upload the font files to the desired location on your server.
Next, you will need to create a CSS file and include an
@font-facedeclaration to specify the location of the font files on the server. The following is an example of what this declaration might look like:
- Once you have included the
@font-facedeclaration, you can then apply the font to specific elements on your website by setting the
font-familyproperty in your CSS. Here's an example of how you might use the "My Font" in your CSS:
- Finally, be sure to link the CSS file containing the
@font-facedeclaration in the head of your HTML documents, so that the font can be loaded and applied to your website.