Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/wordpress/13.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/7/css/33.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
Wordpress 更改标题背景图像的宽度_Wordpress_Css - Fatal编程技术网

Wordpress 更改标题背景图像的宽度

Wordpress 更改标题背景图像的宽度,wordpress,css,Wordpress,Css,这是我的网站。我想更改标题背景图像的宽度。我从中得到图像​ 这个网站和每次我更新页面,我得到不同的图像。但图像大小设置为1000*400。因此图像水平重复。我想把这幅图延伸一下。我该怎么做?请帮帮我。谢谢。像这样更改代码 .gdlr-page-title-wrapper { background-size: contain; background-image: url('http://placeimg.com/1000/400/tech/sepia'); backgrou

这是我的网站。我想更改标题背景图像的宽度。我从中得到图像​ 这个网站和每次我更新页面,我得到不同的图像。但图像大小设置为1000*400。因此图像水平重复。我想把这幅图延伸一下。我该怎么做?请帮帮我。谢谢。

像这样更改代码

.gdlr-page-title-wrapper {
    background-size: contain;
    background-image: url('http://placeimg.com/1000/400/tech/sepia');
    background-repeat: no-repeat;
    background-position: top center;
}

.gdlr-page-title-wrapper {
    background-size: cover;
    background-image: url('http://placeimg.com/1000/400/tech/sepia');
    background-repeat: no-repeat;
    background-position: center center;
}