HOME页面中的背景有条纹背景,但存档页面没有?我尝试在style.css中更改主题的默认背景
background-image : url('http://mangasaur.tk/wp-content/uploads/2013/04/stripe_9cc72d60051c3cf7454f6e1c10a1d96d1.png');
background-repeat : repeat;
background-attachment : fixed;
但即便如此,它也不会改变! 我还编辑了该存档页面的CSS。它是Wordpress(Kommiku)的插件,拥有自己的CSS。
Kommiku CSS:http://pastebin.com/u7cFemfP
网站网址 - http://mangasaur.tk/
答案 0 :(得分:0)
这是http://www.mangasaur.tk/wp-content/themes/live-wire/style.css文件中的问题:
第1行:
... font-weight:normal; font-style:normal;} body {background:#f2f2f2; border-top:0.3125em ...
看起来像是一个名为live-wire主题的样式表。
答案 1 :(得分:0)
在档案中:http://www.mangasaur.tk/wp-content/plugins/kommiku/themes/default/stylesheets/main.css
搜索:
@import url('stylesheets/reset.css');
@import url('stylesheets/typography.css');
替换为:
@import url('reset.css');
@import url('typography.css');
它在主页面上工作的原因是你将它包含在它自己的标记中:<style id="custom-background-css" type="text/css">...</style>
而不是包含main.css文件,这不是存档页面上的情况。