F
F
Fake_bla2014-11-19 13:39:51
Fonts
Fake_bla, 2014-11-19 13:39:51

Fonts are not connected, how to implement?

I connect like this

@font-face {
    font-family: pacifico; 
    src: url(pacifico.woff); 
   }

I need this class to have such a font, but nothing happens
.logo p {
padding-top:79px;
margin-left: -15px;
font-weight: bold;
font-family:pacifico;
 }

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Menshchikov, 2014-11-19
@theboss9976

Try something like this and add other font formats so that all browsers understand

@font-face {font-family: 'PT Serif'; 
  src: url('/Content/Fonts/ptf55f_w.eot'); 
  src: local('PT Serif'), url('/Content/Fonts/ptf55f_w.woff') format('woff'),url('/Content/Fonts/ptf55f_w.ttf') format('truetype'), url('/Content/Fonts/ptf55f_w.svg#PTSerif-Regular') format('svg');}

.PT-Sans-Caption {
  font-family:'PT Sans Caption';
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question