Hello! I want to add the Gotham Pro Black font to the site for headlines.

The font-weight is written everywhere in CSS. I correctly understand that then you only need to add a Regular font, since will font-weight 900 turn it into bold ? Or add immediately bold?

In any case, attached it through

 @font-face { font-family: Gotham Pro; src: url('fonts/GothaProReg.otf'); } 

The console error:

OTS parsing error: invalid version tag

Tried other formats + registered type

How can you solve? Thank!

  • Upd: The problem, by the way, was related to the domain. It was necessary to register the full path. - Erik Vlasovs

1 answer 1

 font-family: Gotham Pro; 
 font-family: 'Gotham Pro';