I'm using a font called downlink for my site and I've run into an issue. Everything works perfectly fine when I test my site locally, but when I upload it to the server (via Filezilla) the font is not loaded.
Here's my CSS code for the font:
@font-face {
font-family: downlink;
src: url(../fonts/downlink.otf);
}
@font-face {
font-family: downlink;
src: url(../fonts/downlinkBold.otf);
font-weight:bold;
}
@font-face {
font-family: downlink;
src: url(../fonts/downlinkItalic.otf);
font-style:italic;
}
@font-face {
font-family: downlink;
src: url(../fonts/downlinkBoldItalic.otf);
font-weight:bold;
font-style:italic;
}
I'm quite sure that I've uploaded everything I needed to with Filezilla because if I download all my server contents (well the public html contents) to an empty folder and run it from there, the site still works.
So I'm running dry on ideas to fix this, any help would be very much appreciated.