  
- 積分
- 2753
- 威望
- 2753
- 金錢
- 1219
- 最後登錄
- 2024-6-13
      
|
本帖最後由 Yenifer 於 2015-8-17 21:46 編輯
第一款与第二款,都放到头部,头部到后台搜索哪里搜索,不会搜教程。
第一款:把图片改成你自己的图片,第一个图片地址是板块没帖子的图标(就是灰色的气泡),第二个就是板块有帖子显示的图片(就是黄色的气泡),不要闲麻烦,就都设置一个图片也行。- <style>.list th {background: url(http://mutual.imotor.com/attachments/month_1508/15080622427bee6ae822a51a80.gif) no-repeat scroll 10px 50%;}.list th.new {background: url(http://mutual.imotor.com/attachments/month_1508/1508062242abe1125a29ff74d9.gif) no-repeat scroll 10px 50%;}</style>
複製代碼 第二款:隐藏板块有贴没贴图片,然后自己设置图片, 加入代码之后, 后台→板块→板块管理→选择你要添加的板块后面有个编辑→有个选项是 版块图标 ,填写你的板块图片地址就可以了。- <style>
- .list th.new,.list th {background: none scroll 0% 0% !important;padding-left: 10px !important;}
- </style>
複製代碼 如果修改之后,发现文字跟图片重叠了,就到风格→模版管理→详情→找到 css_common 搜索下面的代码- .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px !important; }
複製代碼 修改成- .list th { background: url({IMGDIR}/forum.gif) 5px 10px no-repeat; padding-left: 45px; }
複製代碼 Ps/修改后的代码中45px,可以自己修改。具体你自己测试,修改后要后台更新缓存,不会的话看下面
更新缓存:
后台→工具→更新缓存→确定。 |
-
2
評分人數
-
|