{"id":82440,"date":"2023-03-29T16:25:31","date_gmt":"2023-03-29T16:25:31","guid":{"rendered":"\/tutorials\/?p=82440"},"modified":"2024-05-16T08:16:39","modified_gmt":"2024-05-16T08:16:39","slug":"how-to-add-wordpress-background-images-4-easy-methods-and-best-practices","status":"publish","type":"post","link":"\/my\/tutorials\/wordpress-background-images","title":{"rendered":"How to Add WordPress Background Images: 5 Easy Methods and Best Practices"},"content":{"rendered":"<p>WordPress is a popular content management system (CMS) that continuously offers intuitive and powerful features to design an engaging website. One of its features is adding custom background images to help make the website more appealing.<\/p><p>Especially if you have a WordPress business website, this feature can improve your branding. <\/p><p>In this article, we will cover five easy methods to add a background image in WordPress. You will also learn several best practices for using WordPress background images.<\/p><p class=\"has-text-align-center\"><a href=\"https:\/\/assets.hostinger.com\/content\/tutorials\/pdf\/Mega-WordPress-Cheat-EN.pdf\" target=\"_blank\" rel=\"noopener\">Download all in one WordPress cheat sheet<\/a><\/p><p>\n\n\n\n\n\n<div class=\"protip\">\n                    <h2 class=\"featured-snippet title\">What Is a WordPress Background Image?<\/h2>\n                    <p><br>\nA WordPress background image is a visual element that typically takes up the entire section or page of your website. It helps engage visitors and draw their attention to the web page.<br>\n<\/p>\n                <\/div>\n\n\n\n<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-add-a-background-image-using-the-wordpress-theme-customizer\">How to Add a Background Image Using the WordPress Theme Customizer<\/h2><p>The WordPress Theme Customizer is a built-in feature that lets you add a custom background image, create menus, and change color schemes. However, this feature is only available for classic <a href=\"\/my\/tutorials\/best-free-wordpress-themes\/\">free WordPress themes<\/a>, such as Twenty Twenty, Twenty Fifteen, and Twenty Seventeen.<\/p><?xml encoding=\"utf-8\" ?><figure class=\"wp-block-image size-large\"><a href=\"\/my\/wordpress-hosting\" target=\"_blank\" rel=\"noreferrer noopener\"><img decoding=\"async\" width=\"1024\" height=\"300\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2024\/06\/New-WP_in-text-banner-1024x300.png\" alt=\"\" class=\"wp-image-111781\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1024x300.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-300x88.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-150x44.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-768x225.png 768w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner-1536x450.png 1536w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2024\/06\/New-WP_in-text-banner.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><p>For this tutorial, we will go over the steps to an image background via this WordPress feature and use the <strong>Twenty Fifteen<\/strong> theme, as it comes with custom background support:<\/p><ol class=\"wp-block-list\">\n<li>Log in to your WordPress admin page and navigate to <strong>Appearance<\/strong> &rarr; <strong>Customize<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"570\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted-1024x570.png\" alt=\"The WordPress dashboard with the Customize button highlighted\" class=\"wp-image-82464\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted-300x167.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted-150x84.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-WordPress-dashboard-with-the-Customize-button-highlighted-768x428.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>In the Theme Customizer screen, navigate to the <strong>Background Image<\/strong> option.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option-1024x581.png\" alt=\"WordPress Theme Customizer highlighting the Background Image option\" class=\"wp-image-82465\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-highlighting-the-Background-Image-option-768x435.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Click the <strong>Select image<\/strong> button to open the Media Library.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer.png\"><img decoding=\"async\" width=\"1024\" height=\"583\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer-1024x583.png\" alt=\"The highlighted Select Image button in WordPress Theme Customizer\" class=\"wp-image-82466\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer-300x171.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-highlighted-Select-Image-button-in-WordPress-Theme-Customizer-768x437.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>In the Media Library screen, pick a picture or <a href=\"\/my\/tutorials\/how-to-add-images-wordpress\">add a new image<\/a> and click <strong>Choose image<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button.png\"><img decoding=\"async\" width=\"1024\" height=\"557\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button-1024x557.png\" alt=\"The Media Library pop-up window highlighting the Insert Media button\" class=\"wp-image-82467\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button-300x163.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button-150x82.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-highlighting-the-Insert-Media-button-768x418.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"5\">\n<li>Use the image customization options to adjust the background position, preset, and size.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options-1024x581.png\" alt=\"The Theme Customizer window highlighting the image customization options\" class=\"wp-image-82468\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Theme-Customizer-window-highlighting-the-image-customization-options-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"6\">\n<li>Save the changes.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-how-to-add-background-images-with-the-cover-block\">How to Add Background Images With the Cover Block<\/h2><p>You can also add a background image via the default WordPress editor, also known as <a href=\"\/my\/tutorials\/gutenberg-wordpress\">Gutenberg<\/a>. As it provides the tools to create a website using a block-based approach, it is a relatively simple method.<\/p><p>For this tutorial, we will use the <strong>Twenty Twenty-Two<\/strong> theme. Follow the steps below to insert an image background using the block editor:<\/p><ol class=\"wp-block-list\">\n<li>From the WordPress dashboard, navigate to <strong>Pages<\/strong> &rarr; <strong>All Pages<\/strong>. Open a page by clicking on the title.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted-1024x576.png\" alt=\"WordPress dashboard with the Home page highlighted\" class=\"wp-image-82469\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted-300x169.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted-150x84.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-dashboard-with-the-Home-page-highlighted-768x432.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"2\">\n<li>Open the <strong>Block Inserter<\/strong> button and add the <strong>Cover<\/strong> block.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block.png\"><img decoding=\"async\" width=\"1024\" height=\"582\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block-1024x582.png\" alt=\"WordPress block editor highlighting the Cover block\" class=\"wp-image-82470\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Cover-block-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>To make a full-width background image, select the Cover block and choose <strong>Align<\/strong> &rarr; <strong>Full Width<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"582\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted-1024x582.png\" alt=\"WordPress editor with the Full Width option highlighted\" class=\"wp-image-82471\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-editor-with-the-Full-Width-option-highlighted-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>Insert elements you want to your page. For example, we added several <a href=\"\/my\/tutorials\/wordpress-block-patterns\">WordPress block patterns<\/a>.<\/li>\n<\/ol><ol class=\"wp-block-list\" start=\"5\">\n<li>Group the block patterns with the Cover block. It should look like this:<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted-1024x581.png\" alt=\"WordPress block editor showing List View with the Cover block highlighted\" class=\"wp-image-82472\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-List-View-with-the-Cover-block-highlighted-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"6\">\n<li>Select the <strong>Cover block<\/strong> and click <strong>Add Media<\/strong>. Then, choose <strong>Open Media Library<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option.png\"><img decoding=\"async\" width=\"1024\" height=\"582\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option-1024x582.png\" alt=\"WordPress block editor highlighting the Add Media option\" class=\"wp-image-82473\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-highlighting-the-Add-Media-option-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"7\">\n<li>In the WordPress Media Library screen, choose your preferred image. In addition, we recommend <a href=\"\/my\/tutorials\/how-to-add-alt-tags-to-images-in-wordpress\">adding alt text to your image<\/a> for better accessibility. Then, click <strong>Select<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"558\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted-1024x558.png\" alt=\"The Media Library pop-up window with the Select button highlighted\" class=\"wp-image-82474\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted-300x163.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted-150x82.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/The-Media-Library-pop-up-window-with-the-Select-button-highlighted-768x418.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"8\">\n<li>Open the <strong>block settings panel<\/strong> to customize the Cover block. For example, we set the position to a fixed background and adjusted the overlay opacity to 50.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird-1024x581.png\" alt=\"WordPress block editor showing a background image of a bird\" class=\"wp-image-82475\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-block-editor-showing-a-background-image-of-a-bird-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"9\">\n<li>Save the changes.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-how-to-add-background-images-with-the-group-block\">How to Add Background Images With the Group Block<\/h2><p>Another method to add a background image in the WordPress site editor is by using the group block. This feature is introduced in WordPress 6.4, and it&rsquo;s also applicable to row and stack blocks.<\/p><p>Follow the steps below to insert an image background using the group block.<\/p><ol class=\"wp-block-list\">\n<li>Navigate to <strong>Pages<\/strong> &rarr; <strong>All Pages<\/strong> and open a page you want to edit in the block editor.<\/li>\n\n\n\n<li>Open the <strong>Block Inserter<\/strong> button and add the <strong>Group <\/strong>block.<\/li>\n\n\n\n<li>Open the <strong>Styles <\/strong>tab and find the <strong>Background <\/strong>section.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/11\/image-2.png\"><img decoding=\"async\" width=\"1116\" height=\"658\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/11\/image-2.png\" alt=\"The background image section on the group block's settings panel\" class=\"wp-image-98274\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/11\/image-2.png 1116w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/11\/image-2-300x177.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/11\/image-2-1024x604.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/11\/image-2-150x88.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/11\/image-2-768x453.png 768w\" sizes=\"(max-width: 1116px) 100vw, 1116px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>Click on the <strong>Background image<\/strong> button and choose either <strong>Open Media Library<\/strong> to select an image from your WordPress Media Library or <strong>Upload <\/strong>to upload a new image from your computer.<\/li>\n\n\n\n<li>The group block now should have the background image you&rsquo;ve selected. Continue editing the content by adding more blocks inside the Group block.<\/li>\n<\/ol><p>One of the downsides of using the Group block to use a background image is that there are no opacity control and image repositioning tools. Thus, you have to ensure the image has the right design before uploading it.<\/p><h2 class=\"wp-block-heading\" id=\"h-how-to-add-a-custom-background-image-using-a-page-builder\">How to Add a Custom Background Image Using a Page Builder<\/h2><p>Another easy way to add custom backgrounds is by using a <a href=\"\/my\/tutorials\/wordpress-page-builders\">WordPress page builder<\/a>. SeedProd is one of the most popular WordPress page builders that provides powerful yet user-friendly features, like a drag-and-drop editor and advanced element customization options.<\/p><p>In this section, we will cover the steps on how to set a background image with the SeedProd page builder:<\/p><ol class=\"wp-block-list\">\n<li>Create a new page using SeedProd&rsquo;s editor, or pick one of the builder&rsquo;s pre-built templates and populate it with elements.<\/li>\n\n\n\n<li>Go to the editor&rsquo;s left sidebar and select the <strong>gear<\/strong> icon to open <strong>Global Settings<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-globalsettings.png\"><img decoding=\"async\" width=\"1024\" height=\"494\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-globalsettings-1024x494.png\" alt=\"SeedProd editor with the Global Settings icon highlighted.\" class=\"wp-image-96966\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-globalsettings.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-globalsettings-300x145.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-globalsettings-150x72.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-globalsettings-768x370.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Expand the <strong>Background <\/strong>section and upload your background image. If you want to access SeedProd&rsquo;s stock image library, upgrade to Pro starting at <strong>$31.60\/year<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-backgroundimage.png\"><img decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-backgroundimage-1024x495.png\" alt=\"SeedProd editor with the Background Image section in Global Settings highlighted.\" class=\"wp-image-96967\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-300x145.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-150x72.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-768x371.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"4\">\n<li>Configure the background image&rsquo;s position and style using the settings on the left sidebar. <\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-backgroundimage-configuration.png\"><img decoding=\"async\" width=\"1024\" height=\"496\" src=\"https:\/\/www.hostinger.com\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/10\/seedprod-backgroundimage-configuration-1024x496.png\" alt=\"Configuring the background image on SeedProd editor.\" class=\"wp-image-96968\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-configuration.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-configuration-300x145.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-configuration-150x73.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/10\/seedprod-backgroundimage-configuration-768x372.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"5\">\n<li>Save or publish the page.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-how-to-add-a-wordpress-background-image-with-css\">How to Add a WordPress Background Image With CSS<\/h2><p>It is possible to embed an image as a background using custom <a href=\"\/my\/tutorials\/what-is-css\">Cascading Style Sheets (CSS)<\/a> code. This way, you can easily set background images to individual pages, posts, and categories.<\/p><p>Let&rsquo;s go over the steps of adding a background image using <strong>Additional CSS<\/strong>, one of the WordPress Theme Customizer features:<\/p><ol class=\"wp-block-list\">\n<li>From the WordPress dashboard, navigate to <strong>Appearance<\/strong> &rarr; <strong>Customize<\/strong>.<\/li>\n\n\n\n<li>In the Theme Customizer screen, click <strong>Additional CSS<\/strong>.<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted-1024x581.png\" alt=\"WordPress Theme Editor with the Additional CSS highlighted\" class=\"wp-image-82484\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Editor-with-the-Additional-CSS-highlighted-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"3\">\n<li>Type the following CSS code in the text editor:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">body {\n  background-image: url(example.com\/wordpress-background-image\/);\n}<\/pre><p>Change the URL within the brackets with your preferred background image URL.<\/p><ol class=\"wp-block-list\" start=\"4\">\n<li>If the image doesn&rsquo;t suit your preferences, add the following CSS code:<\/li>\n<\/ol><pre class=\"wp-block-preformatted\">body {\n  background-attachment: fixed;\n  background-size: cover;\n}<\/pre><ol class=\"wp-block-list\" start=\"5\">\n<li>The output will look like this:<\/li>\n<\/ol><div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><a href=\"\/my\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks.png\"><img decoding=\"async\" width=\"1024\" height=\"581\" src=\"\/tutorials\/wp-content\/uploads\/sites\/2\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks-1024x581.png\" alt=\"WordPress Theme Customizer showing the CSS code, a background image, and several WordPress blocks\" class=\"wp-image-82485\" srcset=\"https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks.png 1024w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks-300x170.png 300w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks-150x85.png 150w, https:\/\/www.hostinger.com\/my\/tutorials\/wp-content\/uploads\/sites\/45\/2023\/03\/WordPress-Theme-Customizer-showing-the-CSS-code-a-background-image-and-several-WordPress-blocks-768x436.png 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure><\/div><ol class=\"wp-block-list\" start=\"6\">\n<li>Save the changes.<\/li>\n<\/ol><h2 class=\"wp-block-heading\" id=\"h-best-practices-for-using-wordpress-background-images\">Best Practices for Using WordPress Background Images<\/h2><p>When customizing your WordPress site using a background image, it is important to implement the <a href=\"\/my\/tutorials\/web-design-best-practices\">best web design practices<\/a> to get the best possible result:<\/p><h3 class=\"wp-block-heading\" id=\"h-optimize-images\">Optimize Images<\/h3><p>Before adding background pictures to your site, <a href=\"\/my\/tutorials\/optimize-images-wordpress\/\">optimize the images<\/a> by compressing them. You can utilize a WordPress plugin, such as <strong>Image Optimization by Optimole<\/strong>. It uses a cloud-based system to optimize images and provides <a href=\"\/my\/tutorials\/wordpress-lazy-load\">lazy loading functionality<\/a> to speed up the website&rsquo;s loading time.<\/p><h3 class=\"wp-block-heading\" id=\"h-set-the-image-size-properly\">Set the Image Size Properly<\/h3><p>Pay attention to the <a href=\"\/my\/tutorials\/wordpress-images-sizes\">WordPress image size<\/a> when choosing a background picture. The most common size for background images is <strong>1024 x 768<\/strong> pixels. However, you may use high-resolution images with up to <strong>1920 x 1080<\/strong> pixels and a <strong>16:9<\/strong> ratio, so they look great on various device screens. <\/p><p>Also, consider testing it using a local site on multiple devices.<\/p><h3 class=\"wp-block-heading\" id=\"h-use-a-legal-or-royalty-free-image\">Use a Legal or Royalty Free Image<\/h3><p>Another important tip is to utilize royalty-free images to avoid copyright violations. There are many websites that stock royalty-free photos, such as <strong>Unsplash<\/strong>, <strong>Pexels<\/strong>, <strong>Pixabay<\/strong>, and <strong>Pixwizard<\/strong>. However, we still recommend including the images&rsquo; owners or sources to give them credit for their work.<\/p><h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2><p>Adding a WordPress background image is easy since the platform provides the tools for the task.<\/p><p>In this article, we have covered a complete guide for adding WordPress background images using the Theme Customizer, the WordPress block editor, a page builder, and CSS.<\/p><p>Whatever method you choose, remember to optimize the images before using them as the background. Furthermore, use the recommended background image size and ensure that your chosen picture is royalty-free. We hope this article has helped you understand how to design your website by adding background images. Good luck!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is a popular content management system (CMS) that continuously offers intuitive and powerful features to design an engaging website. One of its features is adding custom background images to help make the website more appealing. Especially if you have a WordPress business website, this feature can improve your branding. In this article, we will [&#8230;]<\/p>\n<p><a class=\"btn btn-secondary understrap-read-more-link\" href=\"\/my\/tutorials\/wordpress-background-images\">Read More&#8230;<\/a><\/p>\n","protected":false},"author":258,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_title":"How to Add WordPress Background Images + Best Practices","rank_math_description":"Learn four easy methods to add WordPress background images; using the theme customizer, editor, page builder, and CSS, with some best practices.","rank_math_focus_keyword":"wordpress background images","footnotes":""},"categories":[],"tags":[],"class_list":["post-82440","post","type-post","status-publish","format-standard","hentry"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/tutorials\/wordpress-background-images","default":0},{"locale":"en-UK","link":"https:\/\/www.hostinger.com\/uk\/tutorials\/wordpress-background-images","default":0},{"locale":"en-MY","link":"https:\/\/www.hostinger.com\/my\/tutorials\/how-to-add-wordpress-background-images-4-easy-methods-and-best-practices","default":0},{"locale":"en-PH","link":"https:\/\/www.hostinger.com\/ph\/tutorials\/how-to-add-wordpress-background-images-4-easy-methods-and-best-practices","default":0},{"locale":"en-IN","link":"https:\/\/www.hostinger.com\/in\/tutorials\/wordpress-background-images","default":0},{"locale":"en-CA","link":"https:\/\/www.hostinger.com\/ca\/tutorials\/wordpress-background-images","default":0},{"locale":"en-AU","link":"https:\/\/www.hostinger.com\/au\/tutorials\/wordpress-background-images","default":0},{"locale":"en-NG","link":"https:\/\/www.hostinger.com\/ng\/tutorials\/wordpress-background-images","default":0}],"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/82440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/users\/258"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/comments?post=82440"}],"version-history":[{"count":14,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/82440\/revisions"}],"predecessor-version":[{"id":109932,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/posts\/82440\/revisions\/109932"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/media?parent=82440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/categories?post=82440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/my\/tutorials\/wp-json\/wp\/v2\/tags?post=82440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}