0
Welcome Guest! Login
0 items Join Now

SOLVED Viewport issues

  • SOLVED Viewport issues

    Posted 10 years 5 months ago
    • I just upgraded two sites to the latest gantry framework and template and now I cant pinch and zoom on my tablet. Both sites are 960 and 1200 fixed. Here is the viewport meta data that show up in the header from both sites.
      <meta name="viewport" content="width=960px, initial-scale=1, minimum-scale=1, maximum-scale=1">
      <meta name="viewport" content="width=1200px, initial-scale=1, minimum-scale=1, maximum-scale=1">

      Is this because the min and max scale are 1. Is there a setting on the admin side that can change this.

      Thanks,
      Brad
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Viewport issues

    Posted 10 years 5 months ago
    • You will need to edit directly index.php file for this template to change this. There is no admin configuration for this I am afraid
    • Check my services at: Mihha-Vision
    • Novagiant's Avatar
    • Novagiant
    • Sr. Rocketeer
    • Posts: 127
    • Thanks: 0

    Re: SOLVED Viewport issues

    Posted 10 years 2 months ago
    • Hi Brad, I just noticed this too.
      I have a couple of sites that the customer didnt want responsive (can you beleive that?) anyway - this has become an issue because you cant pinch or zoom.

      Were you able to figure it out? If so, what did you do - thanks
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Viewport issues

    Posted 10 years 2 months ago
    • As I already replied to Brad, you have to manually remove this part of the code ", minimum-scale=1, maximum-scale=1"
    • Check my services at: Mihha-Vision
    • Novagiant's Avatar
    • Novagiant
    • Sr. Rocketeer
    • Posts: 127
    • Thanks: 0

    Re: SOLVED Viewport issues

    Posted 10 years 2 months ago
    • That is better certainly - however, I still have to give it a pinch for the site to fit initially each time I go to a page on my iphone size screen. Is there a way to set it so that I dont have to pinch?

      I tried changing: meta name="viewport" content="width=device-width, initial-scale=1.0 to =0 and =1 but it was all the same view.

      Thanks for any assistance you can provide.
    • Who?'s Avatar
    • Who?
    • Preeminent Rocketeer
    • Posts: 25562
    • Thanks: 613
    • Joomla freelancer

    Re: SOLVED Viewport issues

    Posted 10 years 2 months ago
    • If you use nonresponsive template or fixed width template, I honestly don't understand how can you expect that it will resize to the width of the browser viewport
    • Check my services at: Mihha-Vision
    • Novagiant's Avatar
    • Novagiant
    • Sr. Rocketeer
    • Posts: 127
    • Thanks: 0

    Re: SOLVED Viewport issues

    Posted 10 years 2 months ago
    • Perfect! - that explains a-lot.
    • collot's Avatar
    • collot
    • Newbie
    • Posts: 2
    • Thanks: 0

    Re: SOLVED Viewport issues

    Posted 8 years 9 months ago
    • <meta name="viewport" content="width=1200, initial-scale=1">

      it's the rigth syntax ....
    • collot's Avatar
    • collot
    • Newbie
    • Posts: 2
    • Thanks: 0

    Re: SOLVED Viewport issues

    Posted 8 years 9 months ago
    • <meta name="viewport" content="width=1200, ............">
      px ne sert à rien....

Time to create page: 0.054 seconds