Add Image
First of all, select an enticing image. It should be simple and unique. You can get lots of free images on the Internet. For more details, you can read about 16 websites to get free images. Once you source your header image, you are just left with editing it.
To upload the header image, log into your WordPress dashboard. From the left pane, navigate to Appearance → Header.
It will open a Header Media pane on the left of the screen. Go to Header Image and click Add New Image button.
It will open the image gallery to choose the image. You can also browse your custom image here. Select the image, crop it if required. Set it as the custom header image. You are done.
Add Video
Finally, you can also add a video to your WordPress Header. Thankfully, there is no need to add code for this. WordPress provides you a default option to add video or background image.
For adding video to the header, navigate to Appearance → Header → Header Media → Header Video. Here, you will click Select Video button as shown below. Then, you can browse the video you want on the header from your computer. Alternatively, you can also give URL of the video if it’s online. Just publish it.
Add slider plugin
The first thing you need to do is to install your favorite plugin from Plugins → Add New. Read more about how to install a plugin.
- Navigate to Appearance → Widgets.
- On the left side, locate the Your slider widget.
- Click on the widget and select the option: Hero, then click the Add Widget button.
NB: When you add a widget to the Hero sidebar the default hero section will be disabled.