I have a website that is giving me a ton of trouble with the site not fitting the width of the screen. I tried changing the viewport meta tag but nothing seems to work properly. I have included a screenshot at the below link. You can see a huge margin on the right hand side on iPhone. Please any help is appreciated as I am stumped!
Asked
Active
Viewed 102 times
-1
-
Can you give some css and html codes? It's too hard to help this manner – Pcodea Xonos Feb 11 '16 at 00:33
-
Without any code or example it is very hard to know what the problem is here. – Sebastian Olsen Feb 11 '16 at 00:34
3 Answers
1
You haven't posted any code for us to look at, but you should have a "wrapper" element that contains all the other content. That wrapper, if it were a div would stretch to 100% of the viewport width. Child elements in the wrapper would need to be responsive as well.

Scott Marcus
- 64,069
- 6
- 49
- 71
0
I got the URL from your screen shot. In the "Group Fitness" section you have an embedded image with width: 649px
<img style="width: 649px;" src="<massive data removed...>" data-filename="IMG_3105.JPG">
You should remove the style from that img tag, or set it to a %.

Ricci
- 1
- 1
0
Thanks to the prior answer, I looked into your live site source code. Following repeated
s creating the error.
<h2>
<span style="font-weight: normal;">
<span>INSANITY LIVE<br>
<font color="#efefef" style="background-color: inherit;">Monday 6:00pm</font>
</span>
<font color="#efefef" style="background-color: inherit;"> <br>
Wednesday 6:00am
</font>
</span>
</h2>
If those extra characters are dynamic, quick fix with @media would be
font[style^=background] { display: inline-block;}

CreativeCreate
- 196
- 4