Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • shulbert Friend
    #183685

    I can’t seem to find the “Viewport” settings for the Purity template – need to make an adjustment for viewing my site on an iPAD – can anyone help me with this – thanks in advance… steve

    Stork11 Friend
    #478650

    Hello shulbert,

    What does “Viewport” settings mean? Can you explain your problem in more details?

    Regards.

    shulbert Friend
    #478835

    well, the viewport settings are generally meta tags that control how mobile devices display your site, so in the backend of the Purity template, in the template manager, where you can choose the layout for phones and handheld devices, other templates have a PHP index file with these meta settings, i can find no evidence of any of these in the Purity template – thanks for looking – steve

    Stork11 Friend
    #478903

    Hello shulbert,

    JA Purity II has only viewport for iPhone. You can add viewport meta tag for iPad in “/templates/ja_purity_ii/blocks/head.php” file.

    Hope this helps.

    Regards.

    shulbert Friend
    #479159

    thank u so much for response – yes, it is there, good direction – unfortunately, when i edit the settings – (i added an iPad instance), it has no effect – this is frustrating – any more guidance – thanks in advance – steve

    Stork11 Friend
    #479358

    Hello shulbert,

    I think your “if condition” code is incorrect. You should create a new Browser class, then use this code “if ($browser->getBrowser() == Browser::BROWSER_IPAD)” to check if your site is run on iPad or not.

    Regards.

Viewing 6 posts - 1 through 6 (of 6 total)

This topic contains 6 replies, has 2 voices, and was last updated by  Stork11 11 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum