@font-face {
font-family: "HelveticaNeueLTStd-Lt";
src: url('/css/fonts/HelveticaNeueLTStd-Lt.otf') format('opentype');
}
That is the output of my compass code:
@include font-face('HelveticaNeueLTStd-Lt', font-files('HelveticaNeueLTStd-Lt.otf'));
I can't seem to get the output url to be either just 'Helvetica......otf' or just 'fonts/Helvetica......otf'.
My directory assets are as followed:
http_path = "/"
css_dir = "css"
sass_dir = "sass"
images_dir = "img"
javascripts_dir = "js"
fonts_dir = "fonts"
I have tried taking off fonts_dir and changing it to "" with no luck
Set http_fonts_path
or :relative assets, true
. :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With