jas7457
jas7457

Reputation: 1991

How do you install fonts to a Wordpress site?

I am making a music blog and I'd like to be able to use BebasNeueRegular on my Wordpress site. Obviously, this is possible considering goldenscissors does it on their site (the titles for the widgets on the side and the title of the post are both using BebasNeueRegular).

I did a Google search for this, and only found how to install Google Web Fonts to Wordpress, but BebasNeueRegular is not a Google Web Font. Any help?

P.S. you can download the font here.

Upvotes: 1

Views: 3845

Answers (1)

leonbloy
leonbloy

Reputation: 75916

Read about font-face.

In your example, you can see by yourself this fragment in the 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');

}

Upvotes: 3

Related Questions