Using myfolio template for my site it seems that the standard dimensions are too big to be included in the ipad screen.
Is there a possibility to reduce the width of the template only for ipad and not for all the other devices?
Thanks
Konrad M wrote:Hi,
I guess you are using default view for all devices. Becasue we have mobile views for mobile devices. You can set layouts in template settings in BAsic Settings section for ipads, hanhelds and android.
$isiPad = (bool) strpos($_SERVER['HTTP_USER_AGENT'],'iPad');
<?php
// This is the code which will be placed in the head section
// No direct access.
defined('_JEXEC') or die;
if($isiPad) {
$this->addCSS($this->URLtemplate() . '/css/ipad.css');
}
.gkWrap {
width: 900px!important;
}