Firefox에서 아이콘 대체 글꼴이 포함 된 교차 브라우저에 문제가 없는데 현재 icomoon 텍스트 대체가 아닌 내용 텍스트 만 표시됩니다. 소스 코드는 Sass + Magento + .htaccess 코드에서 보여지며, 어떤 아이디어 나 도움을 주시면 감사하겠습니다.Firefox에서 icoMoon 글꼴이 표시되지 않습니다.
웹 사이트: http://www.phoebessecret.co.nz
은 htaccess로 재 작성했던 :
AddType image/svg+xml svg svgz
AddEncoding gzip svgz
AddType application/vnd.ms-fontobject eot
AddType font/truetype ttf
AddType font/opentype otf
AddType application/x-font-woff woff
<FilesMatch ".(ttf|otf|eot|woff)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Origin "http://www.phoebessecret.co.nz"
Header set Access-Control-Allow-Origin "http://skin.phoebessecret.co.nz"
Header set Access-Control-Allow-Origin "http://js.phoebessecret.co.nz"
Header set Access-Control-Allow-Origin "http://media.phoebessecret.co.nz"
</IfModule>
</FilesMatch>
CSS :
@font-face {
font-family: 'topshops';
src:url('../fonts/topshops.eot');
src:url('../fonts/topshops.eot?#iefix') format('embedded-opentype'),
url('../fonts/topshops.svg#topshops') format('svg'),
url('../fonts/topshops.woff') format('woff'),
url('../fonts/topshops.ttf') format('truetype');
font-weight: normal;
font-style: normal;}
.icon-fonts {
font-family: 'topshops';
font-style: normal;
speak: none;
-webkit-font-smoothing: antialiased;
font-smoothing: antialiased;
text-rendering: optimizeLegibility;
font-weight: 400;
}
.iconsearch {
content: "\61";
}
+1 내가 그들을 매우 유사 발견하고 시도 솔루션은 거의 절망적 이었지만 효과적이었습니다! – diosney