$yt->ytStyleSheet('css/template.css'); $yt->ytStyleSheet('css/system/pattern.css'); $yt->ytStyleSheet('css/your_css.css'); // Font awesome if (!defined('FONT_AWESOME')) { $yt->ytStyleSheet('asset/fonts/font-awesome-4.4.0/css/font-awesome.css'); define('FONT_AWESOME', 1); } // CSS in layout(.xml) if (isset($yt_render->arr_TH['stylesheet'])) { foreach ($yt_render->arr_TH['stylesheet'] as $tagStyle) { $yt->ytStyleSheet('css/' . $tagStyle); } } // CSS with IE9, IE10 if ($yt->ieversion() == 9) { $yt->ytStyleSheet('css/ie/template-ie9.css'); } if ($yt->ieversion() == 10 || $yt->ieversion() == 11) { $yt->ytStyleSheet('css/ie/template-ie10.css'); } // Include css RTL if ($direction['rtl']) { $yt->ytStyleSheet('css/template-rtl.css'); } // Enable & disable responsive if ($showCpanel) { $yt->ytStyleSheet('asset/minicolors/jquery.miniColors.css'); } if ($layoutType == 'res' || $layoutType == 'float') { $yt->ytStyleSheet('css/responsive.css');
$yt->ytStyleSheet('css/template.css'); $yt->ytStyleSheet('css/your_css.css'); if ($showCpanel) { $yt->ytStyleSheet('asset/minicolors/jquery.miniColors.css'); } if ($responsive) { $yt->ytStyleSheet('asset/bootstrap/css/responsive.css'); } // Include css in layout(.xml) if (isset($yt_render->arr_TH['stylesheet'])) { foreach ($yt_render->arr_TH['stylesheet'] as $tagStyle) { $yt->ytStyleSheet('css/' . $tagStyle); } } // Include css with IE8, IE9 if ($yt->ieversion() == 8) { $yt->ytStyleSheet('css/template-ie8.css'); } if ($yt->ieversion() == 9) { $yt->ytStyleSheet('css/template-ie9.css'); } // Include css with Opera if (preg_match("/opera/i", $_SERVER['HTTP_USER_AGENT'])) { $yt->ytStyleSheet('css/template-opera.css'); } // Include css RTL if ($direction == 'rtl') { $yt->ytStyleSheet('asset/bootstrap/css/bootstrap-rtl.css'); $yt->ytStyleSheet('css/template-rtl.css'); } // Enable & disable responsive