Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/39.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
如何仅为主页在背景图像(输入css)上添加透明内容_Css_Wordpress - Fatal编程技术网

如何仅为主页在背景图像(输入css)上添加透明内容

如何仅为主页在背景图像(输入css)上添加透明内容,css,wordpress,Css,Wordpress,在Genesis框架中,我不知道如何直接在背景图像上添加内容(没有白色正文文本框)。网站是www.vacounseling.com。请帮忙 CSS代码: body.home { background-image: url("https://www.vacounseling.com/wp- content/uploads/2016/08/DSCN4252-6.jpg");} body {background-color: #fff; background-repeat: no-repeat; b

在Genesis框架中,我不知道如何直接在背景图像上添加内容(没有白色正文文本框)。网站是www.vacounseling.com。请帮忙

CSS代码:

body.home { background-image: url("https://www.vacounseling.com/wp- 
content/uploads/2016/08/DSCN4252-6.jpg");}
body {background-color: #fff;
background-repeat: no-repeat;
background-position: center top;
background-attachment: scroll; 
color:#222;
margin:0;
padding:0;  
opacity: 1;}

如果我理解正确,那么正如上面提到的Dylan一样,您希望添加

.content .entry {
    background-color: transparent;
}


您是否尝试过设置:背景色:透明或#000在查看您附加的网站后,我相信下面的编辑将为您提供所需的结果。内容。条目{background color:#0000;}是的,这两种方法都奏效了。非常感谢。是的,就是这样。谢谢大家!@John接受这个答案,因此问题结束:)