Adding New Fonts
Hi,
Nothing on vantage about adding new fonts with my child-theme. So can anyone tell me how I can use the @FontFace feature of css and what will I speficy as the url and where i should place the font.
Currently I've put the following lines on my child's css sheet:
Code:
@font-face {
font-family: MyCustomFontName;
src: url("../vantage/MyCustomFontName.otf);
}
NEXT I APPLIED THE NEW FONT TO A CSS Class like:
Code:
h2{
font-family: MyCustomFontName, cursive, Ariel;
}
I have the font MyCustomFontName.otf uploaded in the vantage main folder. For some reason this is not working for the site. the custom font is not getting picked up by any browser, only my secondary font option is getting picked up.
Please Help!
If this actually worked, i could transfer the file to my child folder and rename the url to url("../vantage-child/MyCustomFontName.otf);