I've been struggling to include a custom font in my project, but it's not working as expected. Here's how I added it to the .css file:
@font-face {
font-family: 'Open Sans';
src: url('/open-sans.eot');
src: url('/open-sans.eot?#iefix') format('embedded-opentype'),
url('/OpenSans-Regular.ttf') format('truetype'),
url('/open-sans.woff') format('woff');
font-weight: normal;
font-style: normal;
}
This is how I'm applying it:
.panel-heading {
font-family: 'Open Sans';
font-size: 20px ;
}
Despite having the font file in the correct folder (I even moved it next to the .css files), I'm still seeing Times New Roman instead of my desired font. What am I missing here? Appreciate your help