1

On my site, I use SASS

I have the following code:

--- Edit ---

@font-face {
    font-family: 'BauhausBold';
    src: url('/Type/bauhaus_bold.eot');
    src: url('/Type/bauhaus_bold.eot?#iefix') format('embedded-opentype'),
         url('/Type/bauhaus_bold.woff') format('woff'),
         url('/Type/bauhaus_bold.ttf') format('truetype'),
         url('/Type/bauhaus_bold.svg#BauhausBold') format('svg');
    font-weight: normal;
    font-style: normal;

}

To use this font:

font-family: quote('bind'), arial;

But we always get the error 404 on my site. See the image:

Error 404

Full image: https://i.stack.imgur.com/jAhWY.png

You can access the site: bindsolution.com if they wish.

Thank you all for your help!

ridermansb
  • 10,779
  • 24
  • 115
  • 226

1 Answers1

1

I've just had exactly same problem and I couldn't solve it. I thought it was due to relative path but it wasn't. It turned out that I had my fonts names in CSS in uppercase while the files' names were actualy lower case. Previous server didn't care but this one does. That is all.

Wojtek Mazurek
  • 199
  • 3
  • 7