-1

I think we all know how bootstrap Navbar works, it always stays on top and changes for mobile. Well mine instead of changing for mobile, everything zooms out and gets smaller. here's a link to my website so you can see it for yourself.

here's a picture of how it looks like on mobile, anyone who ever worked with Bootstrap knows that there's something wrong. Thank you enter image description here

Sebastian
  • 51
  • 5

3 Answers3

1

You need to add this in the head of your html doc

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

Adding this will fix the problem in your case, its because you need to tell the browser the viewport of the device you're viewing on

AzizurRahamanCA
  • 180
  • 4
  • 11
0

Add this inside your head tag

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

width=device-width this will tell the browser to adapts to your device width

You can read more about that here

XYZ
  • 4,370
  • 2
  • 13
  • 30
0

to solve this you must add this inside the head:

<meta name="viewport" content="width=device-width, initial-scale=1"> 
Paul Roub
  • 35,848
  • 27
  • 79
  • 88
Sebastian
  • 51
  • 5