How to add custom font at wordpress

90 views Asked by At

The source of the font is: /htdocs/wp-content/themes/elegance/fonts/pizza.otf

I add to CSS(style.css):

 @font-face {
    font-family:'Pizza';
    src: url('fonts/narkis.otf');
}

And add also:

html,body,div,form,fieldset,input,textarea,h1,h2,h3,h4,h5,h6,p,ul,ol,li{
vertical-align:baseline;font-size:100%;padding:0;margin:0;font-family:'Pizza';
}

Its not working..

0

There are 0 answers