Website Design not displayed correctly only on iphone 4S












1















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










share|improve this question























  • 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
















1















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










share|improve this question























  • 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














1












1








1








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










share|improve this question














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






share|improve this question













share|improve this question











share|improve this question




share|improve this question










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



















  • 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












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
});


}
});














draft saved

draft discarded


















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
















draft saved

draft discarded




















































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.




draft saved


draft discarded














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





















































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







Popular posts from this blog

List item for chat from Array inside array React Native

Thiostrepton

Caerphilly