Use custom fonts on a Wordpress blog

I would like to use a font that I paid for at webtype.com on my Wordpress blog. I don't have a blog of my own, so I can't change anything in the main php files like function.php. So, the only solution I have found is to add this content to the css setting file:

@font-face {
     font-family: "Scout Normal";
     src: url("http://the/url/of/the/file") format("woff");
     font-style: normal;
     font-weight: normal;
}
.block p {
     font-family: "Scout Normal";
}

      

The problem is that every time I save the file Wordpress removes the url when loading the font, which means

src: url("http://the/url/of/the/file") format("woff");

      

become

src: format("woff");

      

Do you have any ideas for getting the font to download or any other idea to download it? Thank you for your help.

+3


source to share


1 answer


You can add it to features by modifying it from the Wordpress backend here: Appearance> Editor



http://prntscr.com/4ddfn4

0


source







All Articles