Download & Extend

how to insert meta viewport tag

Project:Marinelli
Version:7.x-3.0-beta11
Component:Miscellaneous
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

Where, or how can I place the following meta tag so that it shows up for my pages?

Site looks great in landscape mode on iPad, but when rotated to portrait mode it doesn't fit.

Comments

#1

Sorry the tag disappeared because I didn't use code tags.
The tag I want to insert is:
<meta name = "viewport" content = "width = 960">

I put the tag in the html.tpl.php template right after the "start head section" comment and it seems to show up in all the pages, and have the desired effect.

<!--start head section-->
<?php print '<meta name = "viewport" content = "width = 960">' ?>

I suppose that should do.