Jegadish AM
Jegadish AM

Reputation: 79

Bootstrap website not responsive in mobile

I have a website which must be responsive for mobile phones. I've created it using my desktop. When I adjust browser window it's working perfectly for mobile phone but when I check it on my real mobile phone: OnePlus 2 it's not responsive to the mobile view.

What could be the wrong?

Upvotes: 1

Views: 2767

Answers (2)

thevarunraja
thevarunraja

Reputation: 326

I think you are missing the below meta tag in your html.

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

place the above meta tag in your html head tag and see if it works.

Upvotes: 11

Sampad
Sampad

Reputation: 1793

Please share your code. Don't use margin or padding attribute forcefully. Add bootstrap classes instead of them.

Upvotes: 0

Related Questions