I downloaded a font and in my CSS I have :
@font-face {
font-family: "Gotham Medium";
src: url("Gotham/Gotham-Medium.otf");}
When I call say in
h1 { font-family:'Gotham Medium'}
the font display does not match what Gotham should look like. Nor is it a default font.
Is the problem a matter of something being changed when downloaded in my laptop ? The font is not in the google API so I can't try with an external link.
Your Css should be like this :
css Trick
To do this you can use a generator for font-face but you must have the license for the web font