Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my Bootstrap fixed top navbar so small on mobile?

Tags:

navbar

Context: http://tomtam.net

Example: http://getbootstrap.com/examples/navbar-fixed-top/

My navbar is tiny mobile. Also how can I center the image ? Thank you

like image 927
Tom Avatar asked Jun 15 '16 19:06

Tom


1 Answers

You're missing viewport meta tag:

<meta name="viewport" content="width=device-width, initial-scale=1">

Place it before <title> tag.


Also, you should place your "row" div inside a div with "container" class.

like image 58
Alejo Anibal Avatar answered Oct 22 '22 15:10

Alejo Anibal