Download font

Hello

I tried to add a font to my WordPress site ,:
- 1: at first via the option of the theme> font> custom, I put the file online in .ttf format but wordpress does not accept this extension
- 2: by adding it (via FTP) the .otf file in the folder make the theme, and then adding this code in the style.css file of the theme

@font-face {
font-family: Bariol;
src: url("fonts/Bariol-Bold.otf");
}
But these two methods do not work, do you have a solution, thank

Comments

Sign In or Register to comment.