If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

JS Animated. How to embed new custom fonts

This tutorial shows how to embed new fonts in JS Animated templates.

JS Animated. How to embed new custom fonts

First of all, you should select a new font for some elements of your website. The most convenient way to do this is to use Google Fonts. Open Google Fonts at https://www.google.com/fonts and select the needed one from there.

Once the font is selected, click ‘Quick-Use’ icon to start embedding. Choose the characters sets if needed under ‘2. Choose the character sets you want:’ section.

Select @import tab for the embedding code and copy the provided one:

How_to_embed_new_fonts_in_HTML_1

Then navigate to ‘css/style.css’ file of the template package and paste the font code in the heading section:

How_to_embed_new_fonts_in_HTML_2

Open the site URL to locate the code line for new font (Firebug tool can be used for this purpose). Then locate the same CSS class in style.css file. Paste font-family linethere from Google Fonts page, manually define the size for your text. Delete CSS line for the previously used font:

How_to_embed_new_fonts_in_HTML_3

Double check the code to make sure its syntax is properly set up. Save changes once you are done and open the site URL to check modifications. New font is now embedded.

Feel free to check the detailed video tutorial below:

JS Animated. How to embed new custom fonts