How to apply font on WordPress?

I have downloaded ‘Bank Gothic Light BT’ and wanted to implement it on a WordPress website.

My file is located at wp-content/themes/alexia/fonts with the name of TT0589M_.woff

This is my code in my CSS file

@font-face {
font-family: 'Bank Gothic Light BT';
font-style: normal;
font-weight: normal;
src: local('Bank Gothic Light BT'), url('fonts/TT0589M_.woff') format('woff');
}

#Subheader .container h1{font-family:'Bank Gothic Light BT';}

During inspection of Google Chrome, the h1 do have the property of font-family:’Bank Gothic Light Bt’, but the subheader is not rendering the font style, what is the problem?

Leave a Comment