どこに問題があるのか わからないため、これがこれを投稿するのに適切な場所であるかどうかはよくわかりませんでした. 基本的に、フォントは今私にとって本当に苦痛であり、何も機能していません。Google-fonts からフォントを読み込もうとしたところ、IE で問題が発生したため、それらをダウンロードして自分で提供することにしましたが、どのブラウザーでも機能せず、次のエラーが表示されます。
"NetworkError: 403 Forbidden - http://www.mychic.co.uk/includes/templates/SmartStart/fonts/architectsdaughter-webfont.woff " "NetworkError: 403 Forbidden - http://www.mychic.co.uk/ include/templates/SmartStart/fonts/architectsdaughter-webfont.ttf "
ファイルの読み取りと実行のアクセス許可を与えるためにアクセス許可を試してみましたが、777 を試しても同じエラーが発生します。フォントは間違いなくあるべき場所にあり、CSS は次のようになります。
@font-face {
font-family: 'architects_daughterregular';
src: url('../fonts/architectsdaughter-webfont.eot');
src: url('../fonts/architectsdaughter-webfont.eot?#iefix') format('embedded-opentype'),
url('../fonts/architectsdaughter-webfont.woff') format('woff'),
url('../fonts/architectsdaughter-webfont.ttf') format('truetype'),
url('../fonts/architectsdaughter-webfont.svg#architects_daughterregular') format('svg');
font-weight: normal;
font-style: normal;
}
body { font-family: 'architects_daughterregular'; }
.htaccess ファイルを追加するよう提案されたので、サイトのルートと fonts ディレクトリに以下を追加しました (これは正しいです)。
AddType application/vnd.ms-fontobject .eot
AddType application/x-font-ttf .ttf
AddType application/x-font-woff .woff
ここで私が間違っていることについてのアイデアはありますか?ヘルプ/アイデアは大歓迎です?