hope things are going well. I appreciate any help in advance.
I'm attempting to use a webfont kit on my site using @font-face. I got the kit from font-squirrel and includes .eot, .woff, .ttf, and .svg. I'm using the http://jointswp.com/ Zurb Foundation 5 scss version. I placed the included @font-face kit code into style.css in library/css.
style.css
@font-face {
font-family: 'latolight';
src: url('library/fonts/lato-lig-webfont.eot');
src: url('library/fonts/lato-lig-webfont.eot?#iefix') format('embedded-opentype'),
url('library/fonts/lato-lig-webfont.woff') format('woff'),
url('library/fonts/lato-lig-webfont.ttf') format('truetype'),
url('library/fonts/lato-lig-webfont.svg#latolight') format('svg');
font-weight: normal;
font-style: normal;
}
p{
font-family: 'latolight';
}
What comes out on the screen is something similar to Times New Roman. All of my other css styles on style.css are registering, but Lato Light does not want to work. My folder structure for my theme is as follows. I perhaps may be using the urls within the @font-face incorrectly?
Library
css
(style.css )
fonts
(lato-lig-webfont.eot,
lato-lig-webfont.svg,
lato-lig-webfont.ttf ,
lato-lig-webfont.woff, )
images
js
scss
translation
Any help is appreciated. I know that Foundation 5 comes built in with Open Sans, could their be mixin preventing other fonts from being utilized? My goal is to use Lato throughout the site in various weights and styles.