Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap 3 Not XS on iPhone 5

I'm having a very strange error while I'm making my bootstrap 3 website: for some reason it is not adapting to the smaller iPhone screen size (the navbar is not collapsing, and the "col-xs-..." seems to be getting ignored).

I have double checked the screen width on the iPhone (it's 320px), and my website is adapting fine on my desktop at 767px when I resize the browser. Only the iPhone seems to be giving me problems and I don't know how to diagnose the problem.

You can see the website at www.sparkmyinterest.com

Thanks for your ideas!

like image 876
Rob Avatar asked Nov 12 '13 15:11

Rob


1 Answers

You don't have the meta viewport in your dom-head.

<meta name="viewport" content="width=device-width, initial-scale=1" />
like image 80
Jimmie Johansson Avatar answered Sep 25 '22 13:09

Jimmie Johansson