Media queries don't work on server |
Post Reply |
Author | |
lescreationsjpg
Newbie Joined: May 06 2017 Status: Offline Points: 8 |
Post Options
Thanks(0)
Posted: May 06 2017 at 8:28pm |
Hi all,
I created a web site with OpenElement not long ago. When files uploaded to the server, when looking at it on a iphone, it still have the look of a desktop screen, everything is small. When building the site, everything look ok with Ripple simulator. I made some boxes, images, positioning and text resizing on all medias but when on server, that does not handle it! I test other html files created with other apps and it looks ok online. Somebody has an idea why? Thanks a lot! Jean
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
Hi,
Please give the link. I think you didn't add "mobile" meta, try adding a Code Block Source type HTML (!) position Header (!):
|
|
lescreationsjpg
Newbie Joined: May 06 2017 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi,
thanks for answering me. The web site that I've build is: www.icarkarting.com Thank you very much!
|
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(0)
|
You still didn't add the meta as I suggested.
And try to optimize the main image, it is very heavy (4Mb) |
|
lescreationsjpg
Newbie Joined: May 06 2017 Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hi,
Thank you very much for the code. If you go back to the site, it is correct on all devices. Just need to do my hamburger menu for the iphone and reduce the image size on main page. www.icarkarting.com Regards, Jean, |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |