发新话题
打印

[共享] 关于watermark_hot_small出现该问题的解决方案

关于watermark_hot_small出现该问题的解决方案

2.5模板中新增了新品等商品的小图标
但很多模板比对默认模板修
改后都会出现watermark_hot_small该代码
解决方法很简单
在使用的模板根目录中找到style.css
在其中增加
复制内容到剪贴板
代码:
.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;
}

TOP

试了.好象没有什么效果



[ 本帖最后由 baiyun白云 于 2007-11-5 20:23 编辑 ]

TOP

你用的是bluesky的模板?
是的话可以用2.5压缩包里的
themes模板里有 覆盖下就行了
复制内容到剪贴板
代码:
.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;
}
试试看这个 前面少复制了几段代码

[ 本帖最后由 sonyr 于 2007-11-5 21:03 编辑 ]

TOP

发新话题