让MySQL搜索区分大小写或排序时分大小写方法如下: 1.在SQL中强制 SELECT `field` FROM `table` WHERE BINARY…
February 8, 2016
Magento 添加 google font Adding a google fonts into Magento
方法一:
In your theme located at app/design/frontend/YOUR_THEME/YOUR_TEMPLATE/layout/local.xml just add the code below:
<?xml version="1.0"?> <layout> <default><!-- use for all pages --> <reference name="head"> <action method="addLinkRel"><rel>stylesheet</rel><href>//fonts.googleapis.com/css?family=Oxygen</href></action> </reference> </default> </layout>
方法二:
In your theme located at app/design/frontend/YOUR_THEME/YOUR_TEMPLATE/layout/page.xml just add the code below:
<default translate="label" module="page"> <label>All Pages</label> <block type="page/html" name="root" output="toHtml" template="page/2columns-right.phtml"> <block type="page/html_head" name="head" as="head"> ... <action method="addLinkRel"><rel>stylesheet</rel><href>//fonts.googleapis.com/css?family=Oxygen</href></action> </block>
本文: Magento 添加 google font Adding a google fonts into Magento