本帖最后由 dongdong0925 于 2010-10-20 17:29 编辑
原因是没有相应样式的css
解决方法:
打开template/default/category/house.css文件,找到下面这段代码- .wpi .block .content, .frame-tab .tb-c { padding: 0px; }
复制代码
在上面代码的开头和结尾处分别加上/*和*/。
然后在文件最下面添加如下代码
- /* ------------------------------------------------------------------------ 拖拽及页面 DIY */
- .title { padding: 0 10px; height: 32px; font-size: 14px; font-weight: 700; line-height: 32px; overflow: hidden; }
- .block { margin: 10px 10px 0; }
- /* Block stylies by lushnis */
- .xbs { background: no-repeat 0 100%; }
- .xbs .title { padding-left: 0; padding-right: 10px; background: no-repeat 100% 0; }
- .xbs .titletext { float: left; padding-left: 10px; background: no-repeat 0 0; }
- .xbs .content { padding-bottom: 6px; background: transparent no-repeat 100% 100%; }
- .xbs .module, .xbs .portal_block_summary { padding: 10px 10px 4px; border-style: solid; border-width: 0 1px; }
- .xbs_1 { border: 1px solid #CCC; }
- .xbs_1 .title { padding: 0 10px; height: 31px; border-bottom: 1px solid #CCC; background: url(../../../static/thead.png) repeat-x 0 0; line-height: 31px; }
- .xbs_1 .title, .xbs_1 .title a { color: #666 !important; }
- .xbs_1 .content { padding: 9px 10px; }
- .xbs_2 { background-image: url(../../../static/image/diy/bs_2_ft.png); }
- .xbs_2 .title, .xbs_2 .titletext { background-image: url(../../../static/image/diy/bs_2_hd.png); }
- .xbs_2 .title, .xbs_2 .title a { color: #F60 !important; }
- .xbs_2 .content { background-image: url(../../../static/image/diy/bs_2_ft_r.png); }
- .xbs_2 .module, .xbs_2 .portal_block_summary { border-color: #E0E0E0; }
- .xbs_3 { background-image: url(../../../static/image/diy/bs_3_ft.png); }
- .xbs_3 .title, .xbs_3 .titletext { background-image: url(../../../static/image/diy/bs_3_hd.png); }
- .xbs_3 .title, .xbs_3 .title a { color: #FFF !important; }
- .xbs_3 .content { background-image: url(../../../static/image/diy/bs_3_ft_r.png); }
- .xbs_3 .module, .xbs_3 .portal_block_summary { border-color: #B2B2B2; background-color: #F1F1F1; }
- .xbs_4 { background-image: url(../../../static/image/diy/bs_4_ft.png); }
- .xbs_4 .title, .xbs_4 .titletext { background-image: url(../../../static/image/diy/bs_4_hd.png); }
- .xbs_4 .title, .xbs_4 .title a { color: #FFF !important; }
- .xbs_4 .content { background-image: url(../../../static/image/diy/bs_4_ft_r.png); }
- .xbs_4 .module, .xbs_4 .portal_block_summary { border-color: #B2B2B2; }
- .xbs_5 { background-image: url(../../../static/image/diy/bs_5_ft.png); }
- .xbs_5 .title { padding: 0 10px; height: 30px; border: 1px solid; border-color: #F08C3B #F08C3B #DDD; background: url(../../../static/image/diy/bs_5_hd.png) repeat-x 0 0; line-height: 30px; }
- .xbs_5 .title, .xbs_5 .title a { color: #BC4A2D !important; }
- .xbs_5 .content { padding-bottom: 10px; background-image: url(../../../static/image/diy/bs_5_ft_r.png); }
- .xbs_5 .module, .xbs_5 .portal_block_summary { padding: 10px 10px 0px; border-color: #F08C3B; }
- .xbs_6 { background-image: url(../../../static/image/diy/bs_6_ft.png); }
- .xbs_6 .title, .xbs_6 .titletext { background-image: url(../../../static/image/diy/bs_6_hd.png); line-height: 24px; }
- .xbs_6 .titletext { height: 32px; }
- .xbs_6 .title, .xbs_6 .title a { color: #FFF !important; }
- .xbs_6 .content { background-image: url(../../../static/image/diy/bs_6_ft_r.png); }
- .xbs_6 .module, .xbs_6 .portal_block_summary { border-color: #4B85A0; }
- .xbs_7 { background-image: url(../../../static/image/diy/bs_7_ft.png); }
- .xbs_7 .title, .xbs_7 .titletext { background-image: url(../../../static/image/diy/bs_7_hd.png); }
- .xbs_7 .title, .xbs_7 .title a { color: #444 !important; }
- .xbs_7 .content { background-image: url(../../../static/image/diy/bs_7_ft_r.png); }
- .xbs_7 .module, .xbs_7 .portal_block_summary { border-color: #E5E5E5; }
复制代码
保存,后台更新缓存即可。
|