Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • coldclimber JA JobBoard
    #198638

    how do i disable the mobile view for this template so you only see the desktop version, i have have set disable in template params for handheld etc but that makes no differance

    Ninja Lead Moderator
    #538478

    You can control to do that by this way

    + Open templates/ja_university/etc/layouts/default.xml file, find and remove source code below

    <file media="only screen and (max-width:719px)">css/layout-mobile.css</file>
    <file media="only screen and (max-width:479px)">css/layout-mobile-port.css</file>
    <file media="only screen and (min-width:720px) and (max-width: 985px)">css/layout-tablet.css</file>

    + Open templates/ja_university/blocks/head.php file

    Change


    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=3.0, user-scalable=yes"/>
    <meta name="HandheldFriendly" content="true" />

    <?php if (T3Common::mobile_device_detect()=='iphone'):?>
    <meta name="apple-touch-fullscreen" content="YES" />
    <?php endif;?>

    <?php if (T3Common::mobile_device_detect()):?>
    <meta name="HandheldFriendly" content="true" />
    <?php endif;?>

    To


    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes"/>
    <meta name="HandheldFriendly" content="true" />

    Once done to clear cache from admin area

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

This topic contains 2 replies, has 2 voices, and was last updated by  Ninja Lead 10 years, 5 months ago.

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