![](https://i-blog.csdnimg.cn/blog_migrate/07363751b43c86daf4a6ee842aaf5b27.png)
wordpress 背景
Do you want to add a background image to your WordPress site?
是否要向您的WordPress网站添加背景图片?
Background images can be used to make your website look more engaging and aesthetically pleasant.
背景图像可用于使您的网站看起来更具吸引力和美观。
In this article, we will show you how to easily add a background image to your WordPress site.
在本文中,我们将向您展示如何轻松地将背景图像添加到WordPress网站。
![How to add a background image in WordPress How to add a background image in WordPress](https://i-blog.csdnimg.cn/blog_migrate/982e571a9551aba260c14f81da05c331.png)
影片教学 (Video Tutorial)
If you’d prefer written instructions, then please continue reading.
如果您希望书面说明,请继续阅读。
方法1.使用您的WordPress主题设置添加背景图像 (Method 1. Add a Background Image Using Your WordPress Theme Settings)
Most popular WordPress themes come with custom background support. This feature allows you to easily set a background image to your WordPress site.
最受欢迎的WordPress主题带有自定义背景支持。 此功能使您可以轻松地为WordPress网站设置背景图片。
If your theme supports the custom background feature, then we recommend using this method to add a background image to your WordPress site.
如果您的主题支持自定义背景功能,那么我们建议使用此方法将背景图像添加到WordPress网站。
However, if your theme doesn’t support this feature, or you don’t like how it implements background images, then you can try the other options mentioned in our tutorial.
但是,如果您的主题不支持此功能,或者您不喜欢其实现背景图像的方式,则可以尝试本教程中提到的其他选项。
First you need to visit the Appearance » Customize page in your WordPress admin. This will launch the WordPress theme customizer where you can change different theme settings while viewing a live preview of your website.
首先,您需要访问WordPress管理员中的外观»自定义页面。 这将启动WordPress主题定制器,您可以在其中查看网站的实时预览时更改不同的主题设置。
![Background image option in WordPress theme customizer Background image option in WordPress theme customizer](https://i-blog.csdnimg.cn/blog_migrate/28ac2666150ebff2cf49fcd49e5ece29.png)
Next, you need to click on the ‘Background image’ option. The panel will slide in and show you the options to upload or select a background image for your website.
接下来,您需要点击“背景图片”选项。 面板将滑入并为您显示上载或选择网站背景图像的选项。
![Select background image Select background image](https://i-blog.csdnimg.cn/blog_migrate/7a71b87dc4a436896faac57f7a8fd845.png)
Click on the select image button to continue.
单击选择图像按钮以继续。
This will bring up the WordPress media uploader pop-up where you can upload an image from your computer. You can also select a previously uploaded image from the media library.
这将弹出WordPress媒体上传器弹出窗口,您可以在其中从计算机上载图像。 您也可以从媒体库中选择以前上传的图像。
![Upload background image Upload background image](https://i-blog.csdnimg.cn/blog_migrate/a4942d691feb1c15bf76634547c8655d.png)
Next, you need to click on the choose image button after uploading or selecting the image you want to use as background.
接下来,您需要在上传或选择要用作背景的图像后单击选择图像按钮。
This will close the media uploader pop-up, and you will see your sel