0
我試圖重寫自定義的Cufon字體爲Arial。我也嘗試通過id來定位H3,但我無法覆蓋它,因爲鏈接的JS文件是頁面的其他自定義片段所必需的。覆蓋一個Cufon字體
下面是我的例子。
// This code is a linked js file I cannot alter
Cufon.replace(['h3'], {
fontFamily: 'Filmotype LaSalle',
hover: true
});
// This code is my override code to try to make the my H3 Arial which isn't working.
Cufon.replace(['h3'], {
fontFamily: 'Arial',
hover: true
});