1
我一直在試圖將Font Awesome庫集成到我的Magento商店。我一直在嘗試將CSS鏈接添加到我的Local.xml文件中,但似乎不起作用。如何將FontAwsome庫與我的Magento商店集成?
我一直在試圖將Font Awesome庫集成到我的Magento商店。我一直在嘗試將CSS鏈接添加到我的Local.xml文件中,但似乎不起作用。如何將FontAwsome庫與我的Magento商店集成?
將以下代碼粘貼到Magento head.phtml
的<head>
部分。
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
OR
<link rel="stylesheet" href="yourLocalPath/font-awesome.min.css">
OR
你可以去System
>Configuration
>Design
>HTML head
>Miscellaneous Scripts
並可以添加上面的鏈接。
請提供CSS代碼,說明如何嘗試鏈接字體,並且可以從HTML訪問字體文件 – 2014-10-07 10:52:47