Zurb Foundation: layout not responsive on an iPhone - responsive-design

I'm trying to get Foundation to be responsive on my iPhone's browsers. I've tried Safari and Chrome on my phone and both of them show the desktop layout.
On the desktop however, if I shrink the browser window I see the layout respond.
I even tried adding one of Zurb's sample templates and that still didn't work.
See here:
http://jsbin.com/okayop/3
Any help would be appreciated.

Add the following within the head element of your document:
<meta name="viewport" content="width=device-width" />

Related

Bootstrap 4 not responsive in Chrome

I've created a small email signature with Bootstrap 4 which displays correctly in Firefox (v 69.0.1):
It doesn't display responsively in Chrome, in Safari on a mobile, or in the Gmail app.
Am I missing something completely obvious?
Any help would be greatly appreciated!!
Bob
HTML5 introduced a method to let web designers take control over the viewport, through the tag... You need to add the tag below in the <head>... for more information here
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
Update: you URL working as expected after adding the link above (screenshot below)

My website won't allow zooming on instagrams web browser?

When I go to my website www.melonheadnj.com on safari I can pinch to zoom. However, when I click my link on my instagram page #melonheadnj I am unable to zoom.
I checked other links from other pages and they were able to zoom.
Would this be something in my mobile css?
In my theme's header.php file there was a meta tag...
<meta content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' name='viewport' />
By deleting the user-scalable=no, I was then again able to zoom in on the instagram browser. Weird that it was allowing me to zoom on safari mobile already though?
As already noted the viewport metadata is preventing native zoom. However, in Mobile Safari (webkit), Apple has chosen to no longer respect user-scalable=no and maximum-scale so user will always be able to natively zoom no matter what. This is to force accessibility support. See the webkit blog post on this.

Responsive web design flaw zoom in issue

i made a website responsive but when it loads into the phone it is zoomed automatically i applied view port as well but didn't find solution.
view port
j query
these doesn't solve my problem.
any one please help to fix this out
I understand your problem as I just solved a similar problem myself.
Method 1
You can specify the amount of zoom that is applied by targeting a specific device group. try adding this to your index.html
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=no">
This should keep your website from trying to scale with zoom.
If this does not work then try targeting specific devices with css
#viewport { width: 100vw ; min-zoom: 100% zoom: 100% ; }
Try playing around with the zoom and width values to find your device range.
Method 2
Open Firefox on your laptop or desktop and go to your site. and in the firefox options choose responsive view. Then press ctrl+shift+c and hover over your page to select the full page container. on the lower right hand side there will be a window with css. There you should find the element that is zooming in.
Also please update your question with your website

Responsive website not working in mobile

I have designed a responsive website. Everything works fine when I check by resizing browser window. But when I see through mobile view its not responsive.
My site:
www.ensteps.com.
Mobile View:
It's not responsive.
Window Resizing view:
It is responsive.
Please help me to recover this issue. Dont know how to check that responsive...
Thanks in advance.
Add <meta name="viewport" content="width=device-width" /> to your <head> tag.

media queries working but not correctly

I'm having a bit of an issue. I have built a responsive site at http://www.nickpassaro.com/ClientSiteDev/New-NPD/ but for some reason, while it works perfectly on the desktop and rearranges its layout properly when you resize the browser window, it isn't working right on mobile devices. On the iPhone, its sending me to the tablet site, and on windows phone 8, it is showing me the mobile site but everything looks really zoomed out. My media queries are set to use under 640px for mobile, under 960 for tablet, and over 960 for desktop. Can someone hit view source on my site and see if they can see why it's using device pixels rather than CSS pixels?
thank you.
the reason its not working properly is that you have not assigned the Viewport.
https://developer.mozilla.org/en-US/docs/Mobile/Viewport_meta_tag
a basic viewport for your case can be:
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

Resources