Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zurb Foundation: layout not responsive on an iPhone

I'm trying to get Foundation to be responsive on my iPhone's browsers. I've tried Safari and Chrome on my phone and both of them show the desktop layout.

On the desktop however, if I shrink the browser window I see the layout respond.

I even tried adding one of Zurb's sample templates and that still didn't work.

See here: http://jsbin.com/okayop/3

Any help would be appreciated.

like image 326
Andrew Keym Avatar asked Jul 15 '13 11:07

Andrew Keym


1 Answers

Add the following within the head element of your document:

<meta name="viewport" content="width=device-width" />
like image 173
chrisjsherm Avatar answered Sep 28 '22 01:09

chrisjsherm