Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
global21 Friend
global21
- Join date:
- March 2011
- Posts:
- 134
- Downloads:
- 37
- Uploads:
- 43
- Thanks:
- 31
- Thanked:
- 5 times in 3 posts
May 4, 2016 at 10:49 am #926605Hello.
Im having issues when viewing my site on a mobile device.
What css should i change to display the main container to 100% on all mobile devices.
I have tried changing the following but it does not affect the view on a mobile device.
@media (max-width: 1136px) .container{ Width: 100%!important; } @media (min-width: 480px) .container { width: 100%; }
global21 Friendglobal21
- Join date:
- March 2011
- Posts:
- 134
- Downloads:
- 37
- Uploads:
- 43
- Thanks:
- 31
- Thanked:
- 5 times in 3 posts
May 4, 2016 at 3:02 pm #926681I fixed it.
I found this in my custom css file
/* Smartphones (portrait and landscape) ----------- */ @media only screen and (min-device-width : 320px) and (max-device-width : 480px) { body { padding: 0; margin: 0; width: 320px; } } /* iPads (portrait and landscape) ----------- */ @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) { body { width: 495px; } }
Pankaj Sharma ModeratorPankaj Sharma
- Join date:
- February 2015
- Posts:
- 24589
- Downloads:
- 144
- Uploads:
- 202
- Thanks:
- 127
- Thanked:
- 4196 times in 4019 posts
May 5, 2016 at 1:30 am #926842Hi
glad you fixed it . If you have any doubt/questions do not hesitate to open a thread on forum .Regards .
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 2 replies, has 2 voices, and was last updated by Pankaj Sharma 8 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum