You are not logged in.


Forum database was corrupt and an old backup was restored as temporary replacement. Registrations closed until the database is recovered. Please ask questions using the Contact form

#1 10-06-2014 21:39:31

Registered: 22-11-2013
Posts: 101

Viewport and changing orientation

I had gone crazy trying to adjust several CSS settings but most of them resolved themselves when I made a minor change to the index.php file

Instead of setting the viewport content to 1024 (as default), I changed it to be based on $maxViewPort (which I set to 768 for iPad/tablet and 1024 for desktop).   It works great...

    <meta name="viewport" content="width=<?php echo $maxViewPort;?>,initial-scale=1.00, minimum-scale=1.00"/>

Thanks all that helped try to resolve this issue.  It was staring me in the face.

Last edited by rsalomone (10-06-2014 21:40:07)


Board footer

Powered by FluxBB