Website Design not displayed correctly only on iphone 4S
I've created a web design which is working fine on every device except my client's Iphone 4S.
I've tested my website online on:
http://mobilewebtest.eu/iphone4
http://iphone4simulator.com/
I've tested hands-on mobiles also i.e. iPhone6/7/8.
All of the above testings were positive. I couldn't get hold on an iPhone 4S but the website is working on every other phone perfectly. Client says that he didn't open the website ever before so cache storage is out of question I think.
I've tried below solutions:
Solution 1:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Solution 2:
<meta name="viewport" content="width=device-width, initial-scale=1">
Solution 3 (Not tried):
Someone pointed something strange on this post:
Responsive design - Media Query not working on iPhone?
that adding a comment after DOCTYPE might fix the issue which doesn't seem that convincing to me.
<!DOCTYPE html>
<!-- This comment line needed for bootstrap to work on mobile devices -->
<html lang="en">
Looking forward for your great support
html iphone twitter-bootstrap responsive
|
show 1 more comment
I've created a web design which is working fine on every device except my client's Iphone 4S.
I've tested my website online on:
http://mobilewebtest.eu/iphone4
http://iphone4simulator.com/
I've tested hands-on mobiles also i.e. iPhone6/7/8.
All of the above testings were positive. I couldn't get hold on an iPhone 4S but the website is working on every other phone perfectly. Client says that he didn't open the website ever before so cache storage is out of question I think.
I've tried below solutions:
Solution 1:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Solution 2:
<meta name="viewport" content="width=device-width, initial-scale=1">
Solution 3 (Not tried):
Someone pointed something strange on this post:
Responsive design - Media Query not working on iPhone?
that adding a comment after DOCTYPE might fix the issue which doesn't seem that convincing to me.
<!DOCTYPE html>
<!-- This comment line needed for bootstrap to work on mobile devices -->
<html lang="en">
Looking forward for your great support
html iphone twitter-bootstrap responsive
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55
|
show 1 more comment
I've created a web design which is working fine on every device except my client's Iphone 4S.
I've tested my website online on:
http://mobilewebtest.eu/iphone4
http://iphone4simulator.com/
I've tested hands-on mobiles also i.e. iPhone6/7/8.
All of the above testings were positive. I couldn't get hold on an iPhone 4S but the website is working on every other phone perfectly. Client says that he didn't open the website ever before so cache storage is out of question I think.
I've tried below solutions:
Solution 1:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Solution 2:
<meta name="viewport" content="width=device-width, initial-scale=1">
Solution 3 (Not tried):
Someone pointed something strange on this post:
Responsive design - Media Query not working on iPhone?
that adding a comment after DOCTYPE might fix the issue which doesn't seem that convincing to me.
<!DOCTYPE html>
<!-- This comment line needed for bootstrap to work on mobile devices -->
<html lang="en">
Looking forward for your great support
html iphone twitter-bootstrap responsive
I've created a web design which is working fine on every device except my client's Iphone 4S.
I've tested my website online on:
http://mobilewebtest.eu/iphone4
http://iphone4simulator.com/
I've tested hands-on mobiles also i.e. iPhone6/7/8.
All of the above testings were positive. I couldn't get hold on an iPhone 4S but the website is working on every other phone perfectly. Client says that he didn't open the website ever before so cache storage is out of question I think.
I've tried below solutions:
Solution 1:
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Solution 2:
<meta name="viewport" content="width=device-width, initial-scale=1">
Solution 3 (Not tried):
Someone pointed something strange on this post:
Responsive design - Media Query not working on iPhone?
that adding a comment after DOCTYPE might fix the issue which doesn't seem that convincing to me.
<!DOCTYPE html>
<!-- This comment line needed for bootstrap to work on mobile devices -->
<html lang="en">
Looking forward for your great support
html iphone twitter-bootstrap responsive
html iphone twitter-bootstrap responsive
asked Nov 15 '18 at 6:25
Junaid QureshiJunaid Qureshi
112
112
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55
|
show 1 more comment
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55
|
show 1 more comment
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53313587%2fwebsite-design-not-displayed-correctly-only-on-iphone-4s%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53313587%2fwebsite-design-not-displayed-correctly-only-on-iphone-4s%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What do you mean by "not" working?
– Mr.Turtle
Nov 15 '18 at 6:38
Design is messed up actually. Like navigation bar contents are messed up and responsiveness not working as expected. Buttons are mixed with each other like on top of each other & all
– Junaid Qureshi
Nov 15 '18 at 8:11
Tricky one to answer based on this information. My first thought is JavaScript. Are you using any kind of ES5/ES6 Javascript without transpiling it (like babel or webpack)? If there are a while since the iPhone is upgraded, newer javascript things are not working properly
– Mr.Turtle
Nov 15 '18 at 9:24
FYI: you always need the <meta viewport...>
– Mr.Turtle
Nov 15 '18 at 9:26
Useful. But I do not know what should I do. Should I get a hands-on with iPhone4S and then move towards a solution or what?
– Junaid Qureshi
Nov 15 '18 at 9:55