Reputation: 607
I have used the carousel example on Bootstrap3 to make a simple gallery website. On a desktop, it appears as I want, and shrinking the browser causes the navbar to collapse as expected. But it won't collapse on the phone. Instead the whole menu appears as a small version of the desktop view. From reading the docs, I thought it would start collapsed on the mobile view by default.
Since I followed the example code closely and all the bootstrap nav examples appear closed, I'm not sure what piece I'm missing. The site is up: http://artbymanisha.com
Upvotes: 0
Views: 180
Reputation: 17324
Add the following meta tag to in the <head>
section.
<meta name="viewport" content="width=device-width, initial-scale=1">
Upvotes: 3