2016-09-16 5 views
1

프로젝트에서 두 개의 글꼴 아이콘을 사용하고 있습니다. Font Awesome 및 SVG 글꼴 사용자 정의. 모든 글꼴 파일은 같은 폴더에 있습니다. 여기에 파일 구조는 다음과 같습니다글꼴 파일을로드 할 수 없습니다. 404 오류

-assets 
    -css 
     -font-awesome.min.css 
     -themefy.css 
    -fonts 
     -font-awesome.eot 
     -font-awesome.svg 
     -font-awesome.ttf 
     -font-awesome.woff 
     -font-awesome.woff2 
     -font-awesomed41d.eot 
     -themify.eot 
     -themify.svg 
     -themify.ttf 
     -themify.woff 
     -themifyd41d.eot 

두 글꼴은 로컬 호스트에서 잘 작동되지만 themify 글꼴 배포 후하지 작업을 수행합니다. 크롬 콘솔에 404 not found을 반환합니다. 2/3 일 동안 많은 연구를 했는데도 문제가 무엇인지 파악할 수 없습니다. 라이브를보고 싶다면

themify.css

@font-face { 
    font-family: 'themify'; 
    src:url('../fonts/themify.eot?-fvbane'); 
    src:url('../fonts/themifyd41d.eot?#iefix-fvbane') format('embedded-opentype'), 
     url('../fonts/themify.woff?-fvbane') format('woff'), 
     url('../fonts/themify.ttf?-fvbane') format('truetype'), 
     url('../fonts/themify.svg?-fvbane#themify') format('svg'); 
    font-weight: normal; 
    font-style: normal; 
} 

: 여기 내 themify의 @ 글꼴 얼굴인가? (http://smartrahat.com/

답변

2

접미사를 제거하십시오 -fvbane) 글꼴에서 CSS는 404 일 수 있습니다.

+0

예! 그것은 일했다!! 이전에는 그랬지만, 그 당시에는'css'가 브라우저 캐시에 있었기 때문에 결과는 같았습니다. 이제는 잘 작동합니다. 정말 고마워요. – smartrahat

관련 문제