2012-07-30 73 views
1

我正在製作一個音樂博客,我希望能夠在我的Wordpress網站上使用BebasNeueRegular。很顯然,考慮到goldenscissors在他們的網站上這樣做是可能的(側面小部件的標題和帖子的標題都使用BebasNeueRegular)。如何將字體安裝到Wordpress網站?

我爲此做了Google搜索,只發現瞭如何將Google Web字體安裝到Wordpress,但BebasNeueRegular不是Google Web字體。任何幫助?

P.S.你可以下載字體here

+0

leonbloy有正確的答案,只是讓我提醒你,這是很容易與定製走極端字體。鍛鍊剋制。 – Chaser324 2012-07-30 19:33:24

+0

@ Chaser324:我完全同意 – leonbloy 2012-07-30 20:03:58

回答

3

閱讀關於font-face

在您的例子,你可以在style.css中自己看到這個片段:下面

@font-face { 
    font-family: 'BebasNeueRegular'; 
    src: url('fonts/BebasNeue-webfont.eot'); 
    src: url('fonts/BebasNeue-webfont.eot?#iefix') format('embedded-opentype'), 
     url('fonts/BebasNeue-webfont.woff') format('woff'), 
     url('fonts/BebasNeue-webfont.ttf') format('truetype'), 
     url('fonts/BebasNeue-webfont.svg#BebasNeueRegular') format('svg'); 

} 
+0

我讀過了,但仍然有點困惑。在那個下載頁面(以及我發現的所有其他頁面)上,只有一個otf文件,而不是eot,woff,tff等。我嘗試查看是否可以從我的示例中下載文件,但也許我是做錯事。 例如:我試着去http://goldenscissors.info/fonts/BebasNeue-webfont.eot找不到。 – jas7457 2012-07-30 19:45:42

+0

jas7467 ...您可以使用此工具將字體轉換爲必要的格式:http://www.fontsquirrel.com/fontface/generator/ – 2012-07-30 22:59:51