naoufal zerai 80671b8ad3 static
2022-08-19 22:21:46 -04:00

24 lines
715 B
Plaintext
Executable File

Installing Webfonts
1. Upload the files from this zip to your domain.
2. Add this code to your website:
@font-face {
font-family: 'Harabara-Bold';
src:url('Harabara-Bold.ttf.woff') format('woff'),
url('Harabara-Bold.ttf.svg#Harabara-Bold') format('svg'),
url('Harabara-Bold.ttf.eot'),
url('Harabara-Bold.ttf.eot?#iefix') format('embedded-opentype');
font-weight: normal;
font-style: normal;
}
3. Integrate the fonts into your CSS:
Add the font name to your CSS styles. For example:
h1 {
font-family: 'Harabara-Bold';
}
Troubleshooting Webfonts
1. You may be using the fonts on different domain or subdomain.
2. Check if you have link the fonts properly in the CSS.