2017-06-13 66 views
2

我有大的商業網站,這裏是網站鏈接https://www.taoaccents.com
我正在使用網站的簡單主題。 我已經上傳自定義字體,並調用與以下正確的路徑styles.css的是,我已經叫成我的styles.cssBigcommerce購物車頁面和結帳頁面ingnoring主題字體樣式

@font-face { 
    font-family: 'ProximaNovaReg'; 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.eot'); 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.eot') format('embedded-opentype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.woff2') format('woff2'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.woff') format('woff'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.ttf') format('truetype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.svg#ProximaNovaReg') format('svg'); 
} 

@font-face { 
    font-family: 'ProximaNovaSbold'; 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.eot'); 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.eot') format('embedded-opentype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.woff2') format('woff2'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.woff') format('woff'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.ttf') format('truetype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaSbold.svg#ProximaNovaSbold') format('svg'); 
} 

@font-face { 
    font-family: 'ProximaNovaBold'; 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.eot'); 
    src: url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.eot') format('embedded-opentype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.woff2') format('woff2'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.woff') format('woff'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.ttf') format('truetype'), 
     url('http://www.taoaccents.com/template/Styles/fonts/ProximaNovaBold.svg#ProximaNovaBold') format('svg'); 
} 

其網站上精細的工作字體的代碼,但也有一些網頁這不工作的網頁的字體車和結算處理所有步驟

https://www.taoaccents.com/cart.php

https://www.taoaccents.com/checkout.php

請建議我哪裏做錯了日英格斯。

+1

你需要在你的URL使用https – Gerard

+1

您的網站是在'https'和你'http'所提供的靜態文件。所以把它改爲'https'。 – aavrug

+0

@Gerard,謝謝,哇,你的建議非常感謝。你能回答我,並且我會把它投票給感謝這麼多? –

回答

3

請在網址中使用https,而不是http像這樣

@font-face { 
font-family: 'ProximaNovaReg'; 
src: url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.eot'); 
src: url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.eot') format('embedded-opentype'), 
url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.woff2') format('woff2'), 
url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.woff') format('woff'), 
url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.ttf') format('truetype'),  url('https://www.taoaccents.com/template/Styles/fonts/ProximaNovaReg.svg#ProximaNovaReg') format('svg'); 
} 
相關問題