Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/255.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/87.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php .widget,在Wordpress style.css上找不到文章_Php_Html_Css_Wordpress_Web - Fatal编程技术网

Php .widget,在Wordpress style.css上找不到文章

Php .widget,在Wordpress style.css上找不到文章,php,html,css,wordpress,web,Php,Html,Css,Wordpress,Web,我试图在我的style.css中为我的主题找到元素“.widget,article”。发生的事情是它显示在开发工具上,但我在样式页面中找不到它 布局为背景,默认为白色 web开发者工具说它的布局是 <article> <header class="entry-header">...</header> <div class="entry-content clearfix">...</div> ... 我找不到article元素,也无法适

我试图在我的style.css中为我的主题找到元素“.widget,article”。发生的事情是它显示在开发工具上,但我在样式页面中找不到它

布局为背景,默认为白色

web开发者工具说它的布局是

<article>
<header class="entry-header">...</header>
<div class="entry-content clearfix">...</div>
...
我找不到article元素,也无法适当地更改index.php文件以使背景透明


关于加载文章时如何回显id或任何其他内容,您有什么想法吗?

可以将其硬编码到标题中,或使用style.css以外的其他样式表。您是否可以查看子theme style.css而不是父theme style.css?它位于travelify主文件夹的style.css中。我已经尝试在页面标题中硬编码一个样式作为背景色:透明!重要的
.widget, article {
  background: #8C3737;
}