I have an android phone and the template would load the same as on the PC - just scaled down.
So I changed the meta values to AFAIK correct values (modified the function skeletontheme_page_alter($page) ):

<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<meta content="True" name="HandheldFriendly">

and it works well now.

Comments

Quarath’s picture

Issue summary: View changes

code

gtsopour’s picture

gtsopour’s picture

Status: Active » Fixed

Hello Quarath,
just made the following change to the template.php file and committed:

function skeletontheme_page_alter($page) {

$mobileoptimized = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' =>  'MobileOptimized',
'content' =>  'width'
)
);

$handheldfriendly = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' =>  'HandheldFriendly',
'content' =>  'true'
)
);

$viewport = array(
'#type' => 'html_tag',
'#tag' => 'meta',
'#attributes' => array(
'name' =>  'viewport',
'content' =>  'width=device-width, initial-scale=1'
)
);

drupal_add_html_head($mobileoptimized, 'MobileOptimized');
drupal_add_html_head($handheldfriendly, 'HandheldFriendly');
drupal_add_html_head($viewport, 'viewport');

}

Thanks
George

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

,