Skip to content

Instantly share code, notes, and snippets.

@zeljkoprsa
Created January 6, 2015 18:06
Show Gist options
  • Save zeljkoprsa/8acab139dc3f4e2bb903 to your computer and use it in GitHub Desktop.
Save zeljkoprsa/8acab139dc3f4e2bb903 to your computer and use it in GitHub Desktop.
Set viewport meta via XML
<block type="core/text" name="head.viewport">
<action method="setText"><text><![CDATA[<meta name="viewport" content="initial-scale=1.0, width=device-width" />]]>&#10;</text></action>
</block>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment