Skip to content

Instantly share code, notes, and snippets.

@nhp
Created October 30, 2013 08:31
Show Gist options
  • Save nhp/7228999 to your computer and use it in GitHub Desktop.
Save nhp/7228999 to your computer and use it in GitHub Desktop.
Webfont in magento local.xml layout einbinden
default>
<reference name="root">
<reference name="head">
<action method="addCss"><stylesheet>css/custom.css</stylesheet></action>
<block type="core/text" name="google.font.oswald">
<action method="setText">
<text><![CDATA[<link href='http://fonts.googleapis.com/css?family=Oswald:400,700,300' rel='stylesheet' type='text/css'>]]></text>
</action>
</block>
</reference>
@hans2103
Copy link

hans2103 commented Sep 8, 2015

suggestion: remove http: from the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment