T3模板下 设置一个模块full width

老师你好
我在JA Smashboard模板下mainbody.php里面message与component之间加了一个模块的位置,并且修改了模块占位为span12,在variables.less里也照葫芦画瓢 添加了一夜更高尺寸像素的代码。可是虽然仍是响应式布局,但是宽度仍然最大不超过1200px,当显示器尺寸或分辨率很高时无法full width。
请教老师该怎么处理这个呢?
已邀请:

赤木@晴子 - 明月百年心

赞同来自:

把你修改过的文件及涉及到的源代码都贴出来(注意使用 code 标记),我们一起探讨一下。

妥协 - 不会轻易妥协的人不愿意将就的人任性自由的人总是活得比较累

赞同来自:

首先mainbody.php里部分由// Layout configuration
$layout_config = json_decode ('{
"one_sidebar1": {
"default" : [ "span9 pull-left" , "span3" ],
"wide" : [],
"xtablet" : [ "span8 pull-left" , "span4" ],
"tablet" : [ "span9" , "span9 spanfirst" ]
},
"no_sidebar": {
"default" : [ "span9" ]
}
}'&#41

// positions configuration
$sidebar1 = 'sidebar-1';

// Detect layout
if ($this-countModules($sidebar1)) {
$layout = 'one_sidebar1';
} else {
$layout = 'no_sidebar';
}
$layout = $layout_config-$layout;

$col = 0;
?




要回复问题请先登录注册