Jump to content

Recommended Posts

I built a Bootstrap site but when I view it on my phone (Samsung Galaxy S3), it doesn't collapse the navigation menu into the mobile button like I thought it would. I did some research and realized that my phone is actually the same resolution as my desktop (1920x1080) so it's giving me the desktop view. Bootstrap, to my surprise, only seems to be responsive to resolutions, not physical screen sizes. How do I overcome this? I want to build a site which is responsive to physical screen size, regardless of resolution.

Edited by DeX
Link to comment
https://forums.phpfreaks.com/topic/289121-bootstrap-screen-size-and-resolution/
Share on other sites

I haven't used bootstrap so I can't say for sure but this is a meta tag that is usually associated with a responsive design.

<meta name="viewport" content="width=device-width; initial-scale=1; maximum-scale=1; user-scalable=no;"> // Remove the maximum scale and no scale if you want the wite to be zoomable or scalable on the mobile device.
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.