I'm trying to include my own font to my drupal website. I've got a custom.css file in my theme inside 'sites/all/themes/mytheme/css' folder. My fonts are in my 'sites/all/themes/mytheme/fonts' folder. The css is called from the template.php in my theme folder. This is my css code right now:
@font-face {
font-family: 'slashbadass_black';
src: url('../fonts/Myfont.eot');
src: url('../fonts/Myfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/Myfont.woff2') format('woff2'),
url('../fonts/Myfont.woff') format('woff'),
url('../fonts/Myfont.ttf') format('truetype'),
url('../fonts/Myfont.svg#slashbadass_black') format('svg');
font-weight: normal;
font-style: normal;
}
So is this path OK? For what I've seen the font-family is not available right now.