请问分类下面的背景颜色怎么改
请教一下各位。就像下面图片上的分类,我想把商品分类下面的颜色改一下,因为背景色有点灰,我想改白一点。不知道怎么改?我用的是muuq模板。[[i] 本帖最后由 xdq009 于 2008-10-7 16:23 编辑 [/i]] 找library文件夹里边的category_tree.lbi文件
看最外层的div把你想要的颜色在外部的div上设置一下就好了 谢谢版主的答案.我是个菜鸟,我把代码发出来,能指一下在哪里改,怎么改么?先谢了!
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<div id="categoryTree" class="globalTitle">
<h3>商品分类</h3>
<!-- {foreach from=$categories item=cat} -->
<div class="toggleblock">
<h4><!-- {if $cat.children} --><!-- {/if} --> <a href="{$cat.url}">{$cat.name|escape:html}</a></h4>
<!-- {if $cat.children} -->
<ul>
<!-- {foreach from=$cat.children item=child} -->
<li><a href="{$child.url}">{$child.name|escape:html}</a></li>
<!-- {/foreach} -->
</ul>
<!-- {/if} -->
</div>
<!-- {/foreach} -->
<p class="more"><a href="../catalog.php">所有分类</a></p>
<div class="globalBottom"></div>
</div> 嘎嘎。买件我的商品我就告诉你。
我有生意头脑哦。嘿嘿。:lol :lol :lol 你在style.cee中找.toggleblock 看后便的{}里边有没有
background-color:#******;要是有的话你把#******改为#FFFFFF;我这里没有这个模板你找找看把 :lol :kiss: 有机会一定找你买东西哦!
不过我在style.css中没有找到toggleblock.
我把代码发上来吧,
/*
Template Name: Muuq.cn
Template URI: [url]http://www.MuuQ.cn/[/url]
Description: Muuq.cn template for ECSHOP 2.5.1
Version: 1.0
Author: GUI:Asher
Author URI: [url]http://www.MuuQ.cn/[/url]
*/
@import url(css/layout.css); /*布局*/
@import url(css/component.css); /*模块部分*/
/* ==================== 全局通用部分 ==================== */
* {
margin:0;
padding:0;
}
body{
background-color:#fff;
font-family:/*"Microsoft YaHei",*/Tahoma,Arial,sans-serif,Verdana;
font-size:12px;
color:#555;
background-color: transparent;
}
* html {
filter:expression(document.execCommand("BackgroundImageCache", false, true));
}
body,p,td,th,input,select,textarea {
font: normal normal 12px Arial;
margin: 0; padding: 0;
}
ul,ol,dl,dt,dd,form {
margin: 0; padding: 0;
}
ul,ol {
list-style: none;
}
h1,h2,h3,h4,h5,h6 {
font-size:12px;
margin: 0; padding: 0;
}
img {
border: 0;
}
textarea {
padding: 3px;
border: 1px solid #a5d2eb;
}
a:link, a:visited {
color: #3366cc;
text-decoration: none;
}
a:hover, a:active{
color: #ff6600;
text-decoration: underline;
}
.vAlign {
vertical-align: middle;
}
.linkSkyblue a {
color: #5fb0dc;
}
.listStyle {
padding: 10px;
}
.listStyle a,
.listStyle a:visited {
color: #5fb0dc;
}
.listStyle li {
color: #5fb0dc;
background: url(images/icon_list_arrow01.gif) no-repeat left 3px;
width: 90%;
padding-left: 12px; margin-bottom: 3px;
}
.listStyle .fRight {
color: #999;
float: right;
}
#rss {
text-align: center;
margin: -20px 0 20px 0;
}
.textDesc {
color: #999;
}
.textStrong {
color: #f60;
}
.textTime {
font: 10px Arial;
color: #999;
margin-left: 5px;
}
.btnBlue {
display: block;
background: url(images/btn_blue_l.gif) no-repeat left center;
float: left;
padding-left: 1px; margin-right: 3px;
}
.btnBlue a {
line-height: 17px;
color: #0b54ab;
background: url(images/btn_blue_r.gif) no-repeat right center;
float: left;
padding: 2px 10px;
}
.msgNocice {
background: #f1fafd url(images/icon_notice.gif) no-repeat 10px center;
padding: 10px 5px 10px 40px; margin: 10px 5px;
border: 1px solid #a5d2eb;
}
#loader {
background-color: #ffc;
border: 1px solid #cc0;
position: fixed;
color: #CC0000;
z-index: 1000;
left: 0px;
bottom: 0px;
padding: 5px 15px;
/*display: none;*/
filter: progid:DXImageTransform.Microsoft.BasicImage(opacity=.65);
opacity: 0.65;
}
* html #loader {
position: absolute;
}
.watermark_small {
display: block;
text-indent: -9999px;
width: 31px; height: 15px;
margin-right: 3px;
float: left;
}
.watermark_promote_small {
background: url(images/watermark_promote_small.gif) no-repeat;
}
.watermark_new_small {
background: url(images/watermark_new_small.gif) no-repeat;
}
.watermark_best_small {
background: url(images/watermark_best_small.gif) no-repeat;
}
.watermark_hot_small {
background: url(images/watermark_hot_small.gif) no-repeat;
} 网址发过来还有css也发过来 网址是:[url=http://www.i925y.cn]www.i925y.cn[/url]
[[i] 本帖最后由 xdq009 于 2008-10-7 16:22 编辑 [/i]] 你在component.css或者layout.css里边找找toggleblock 看后便的{}里边有没有
background-color:#******;要是有的话你把#******改为#FFFFFF; 很感谢版主,终于让我找到了那个文件了,问题终于弄好了.版主辛苦啦:lol :lol :lol 客气
页:
[1]
