一個朋友需要個寬屏,都提了快一個月了,才抽出空來幫忙修改了一下,可能會有些問題,不過大家提出來我會及時修正的
本主題帖為手工修改方法!

打開:template/default/common/common.css 最後一行加上:

  1. /* Discuz */
  2. .wp { width:98%;}
  3. #hd .wp { width: 100%; }
  4. .hdc { margin: 0 auto; width: 98%; }
  5. #nv { background-repeat: repeat-x; background-position: 0 -33px; }
  6. #mu ul { border-bottom: 1px solid #ccc; background-image: none; background-color:#f2f2f2; }
  7.   .ct2 { margin-left:230px;}
  8.   .ct2 .mn { width:100%; margin-left:-230px;}
  9.   .ct2_a .mn {width:100%}
  10.   .ct3_a,.ct2_a { margin-left:150px;}
  11.   .ct3_a .appl,.ct2_a .appl{ margin-left:-150px;}
  12.   .ct3_a .mn { width:auto;}
  13. .pg_post .ct2_a { margin-left: 0; margin-right: 150px; }
  14. .pg_post .ct2_a .appl { margin-left: 0; margin-right: -150px; }

再次打開文件: emplatedefaulthomespace_header.htm

查找:

  1. <style id="diy_style">$space[spacecss]</style>

上面加上下面這段 (更新緩存!):

  1. <style type="text/css">
  2. /* BY:cr180 Discuz! 職業模板製作人*/
  3. .wp { width:970px;}
  4. .ct2 { width:970px; margin:0 auto}
  5. .ct2 .mn {display: inline; margin-left: 10px; width: 760px !important;  }
  6. .ct2 .sd {width: 180px;}
  7. </style>

全局寬度為 98% 自適應,如果你覺得太寬可以自行改一下即可,上面的代碼 【98% 】 都替換成你想要的百分比寬度

請注意:

此懶人覆蓋版本適用於 Discuz!X1.5 GBK 【 R20101020 】   非此版本可能會出現問題!

如果你之前修改過:
template/default/common/common.css
template/default/homespace_header.htm

以上兩個文件,請你參照主題帖手工修改方法進行!