【发布时间】:2014-02-07 07:31:31
【问题描述】:
我没有缓存插件,css是
#featured { border-bottom: 1px solid #ffffff; background: #000000; height: 300px; overflow: hidden; }
div.slide { height: 300px; position: relative; }
div.overlay, div.top-overlay { background:url("images/dropshadow.png") repeat-x bottom left; bottom:0; height:22px; left:0; position:absolute; width:100%; }
div.top-overlay { background:url("images/top-overlay.png") repeat-x bottom left; top: 0px; height: 43px; }
.slide .description { background:url("images/overlay.png") no-repeat scroll 0 0 transparent; float:right; height:276px; margin-top:6px; padding:18px 68px 0 50px; width:342px; }
.description h2.title { font-weight: bold; font-size: 36px; padding-top:3px; }
.description h2.title a { color: #ffffff; text-shadow: 2px 2px 2px #000000; }
.description h2.title a:hover { color: #eeeeee; text-decoration: none; }
.description p.tagline { font-size: 14px; font-family: Georgia, serif; font-style: italic; color: #4f4f4f; padding: 7px 0px 4px; }
.description p.tagline a { color: #4f4f4f; }
.description p.tagline a:hover { color: #7c7c7c; text-decoration: none; }
.description p { line-height: 19px; }
.slide a.readmore { background:url(images/featured-readmore-right.png) no-repeat scroll right bottom; display:block; float:left; height:31px; line-height:32px; padding-right:11px; color: #ffffff; text-shadow: 1px 1px 1px #0080bd; margin-top:8px; }
.slide a.readmore span { background:url(images/featured-readmore-left.png) no-repeat; display:block; padding: 0px 4px 0px 15px; }
a#prevlink, a#nextlink { position:absolute; bottom:-2px; right:0; height: 40px; text- indent: -9999px; display: block; z-index: 1000; }
a#prevlink { right: 80px; background: url(images/arrow-left.png) no-repeat; width: 81px; }
a#nextlink { width: 80px; background: url(images/arrow-right.png) no-repeat; }
当然,代码没有问题。它似乎只是缺少一个更新网络缓存的功能。代码是它应该的样子,但是当我的浏览器从我的网页上读取它时,我得到这个链接 wp-content/themes/TheSource/style.css:284 而不是 wp-content/themes/TheSource/style.css 这是我的主要问题,因为我无法从滑块上编辑简单的图像来做我想做的事。我知道这发生在我身上,我在谷歌上查看了一个小部件并找到了一个要添加的功能,因为我之前得到了类似 wp-content/themes/TheSource/style.css?ver:248 的东西,现在它取消了 ?ver但我需要一些可以让我更新我的主题的东西,以便我可以自定义它。
【问题讨论】:
-
通常情况下,您将有更好的机会获得所需的答案并更快地获得答案,方法是让您的代码简洁明了。尝试删除与您的问题发生的部分没有直接关系的任何代码,或尝试制作一个简化的类似代码,为您展示相同的问题。