• E-Commerce
    • eCommerce
    • Amazon FBA
    • Dropshipping
  • Marketing
    • Digital Marketing
    • Social Media
    • Email Marketing
  • Blogging
    • Blogging & Niche Websites
    • Artificial Intelligence
    • SEO
    • Monetization
    • Affiliate Marketing
  • Make Money
    • Side Hustles
    • Self Publishing
    • Start a Business
    • Make Money Online
  • Stories
    • Podcasts
    • Success Stories
  • Help & Guides
    • Start Here
    • Community
    • Tools
    • About
    • Archives
    • Contact
    • Advertise On Niche Pursuits
Wordpress

4 Easy Ways To Change The Background Color In WordPress

By Ahmed Lodhi

Last updated: June 27, 2024

how to change background color in wordpress.

When you buy something through one of the links on our site, we may earn an affiliate commission.

 

Let's face it:

There's nothing more frustrating than being stuck with a plain white background when you want a more vibrant, eye-catching, and attractive website!

Fortunately, you don't need to be a tech expert to change the background color of your WordPress website!

In this article, we'll walk you through four simple methods to change the background color in WordPress within a couple of minutes.

Contents

  • Ways To Change Background Color In WordPress
    • 1. WordPress Theme Customizer
    • 2. Adding Custom CSS
    • 3. Full Site Editor
    • 4. Block Editor
    • How To Change the Background Color Of A Single Page
    • How To Add A Video Background In WordPress
  • FAQs
    • How do I change the font color in WordPress?
    • How do I change the header background color in WordPress?
    • How do I change the primary color of my WordPress theme?
  • Conclusion

Ways To Change Background Color In WordPress

If you want to spice up your WordPress site, changing the background color is a great place to start. You can accomplish this task in multiple ways, from using the built-in theme customizer to installing special plugins.

Here are four simple methods to apply a new background color on your WordPress website.

1. WordPress Theme Customizer

The simplest way to change the background color of your website is by using the WordPress theme customizer. While most themes reserve this feature for paid users, Astra offers it for free (read the full Astra theme review here). Here's how to test it out yourself.

Wordpress-theme-customize background image

1. Log in to your WordPress dashboard and select Appearance > Customize from the left navigation menu to get to the theme's folder.

wordpress-background image color change

2. Depending on your site's theme, click on the following options to access the background customization option:

  • Astra: Global > Colors > Site Background
  • Divi: General Settings > Background > Background Colors
  • OceanWP: General Options > General Styling > Background Colors
background images color-palette

3. Select any color from the palette and click on Publish in the top menu bar.

2. Adding Custom CSS

The default background color of your website is determined by a type of code called CSS. You can apply any color to your site's background by tweaking this custom CSS code.

But first, you need to convert your chosen color into a six-digit hex code. Use this free color picker to generate a custom hex code for the color before moving forward.

wordpress-dashboard

1. Log in to your WordPress account and go to Appearance > Customize to go into the theme's CSS.

additional-css-tab

2. Click on Additional CSS in the left menu bar.

site-background-color-code

3. Enter the following custom CSS code in the text box:

        .site {
            background-color: #XXXXXX;
        }

Replace the 'XXXXXX' with a hex color code of your choice.

Note: If the first code doesn't work, try replacing 'site' with 'body' in the custom CSS code.

4. Select Publish from the top bar to save your settings.

3. Full Site Editor

WordPress introduced its Full Site Editor in 2022 with new editing features for individual pages. This update allows users to modify their website's background image or color without purchasing premium themes or plugins.

Here are the steps to change the background image or color:

wordpress-dashboard-themes

1. Log in to your dashboard and go to Appearance > Themes.

twenty-twenty-three-active

2. Select a theme that supports Full Site Editor and click Activate. (We'll be using Twenty Twenty-Three for this example.)

theme-full-site-editor

3. Click on Editor from the left menu bar. After the screen reloads, press the Edit button.

block-editor-cover

4. To change the background image color, click on the blue + button in the top menu and search for the Cover block. Click on the icon to apply.

block-wordpress-background-color

5. Select a background image color from the default color palette.

Note: If you want to use a custom color, switch to 'Block' and then the 'Styles' tab from the left menu bar. Click on 'Overlay' and create your own solid or gradient shade using the color picker.

cover-menu-layers

6. Click on the Hamburger Menu in the top menu and drag each section under Cover.

block-background-color-change

7. To change the color of an individual block, click on it and go to the Block and Styles tab from the right navigation bar.

page-color-save

8. Tap on Background and select your own background using the color picker tool.

9. Once you've made all the changes, click on the Save button twice in the top right corner.

4. Block Editor

WordPress Block Editor has a hidden feature that allows you to change the background color of specific parts of your website.

You can experiment with different hues using a built-in color palette and select from a variety of solid and gradients backdrops.

wordpress-posts

1. Log in to WordPress and click on either Pages or Posts.

post-edit-option

2. Select the Page/Post you want to customize and tap on Edit.

add-block-paragraph

3. Click on the + icon to add a heading or paragraph.

wordpress-block-color-change

4. In the left sidebar, switch to Block and select Background.

change-background-color-block

5. Choose a solid or gradient color and click on Update from the top menu bar.

How To Change the Background Color Of A Single Page

Selecting the right background color can be critical to your click-through rate and revenue. Take Heinz as an example; it sold over 10 million bottles of ketchup in 7 months after changing its colors from red to green!

Using an eye-catching background color on your conversion page can recreate the same effect and significantly boost your sales. Here are the steps to change the background color of a single web page in WordPress.

background-color-inspect-element

1. Open the post/page on your website that you want to customize.

2. Right-click and select Inspect.

css-code-post-copy

3. Look for the post id class and copy the ID. (Press Ctrl+F or Cmd+F and type 'article' to find the post id.)

wordpress-theme-customize

4. Go to your dashboard on WordPress and click on Appearance > Customize.

wordpress-additional-css-tab

5. Open the Additional CSS tab from the left menu.

change-background-color-hexcode

6. Paste the following piece of code:

      .post-xxx {
         background-color: #FFFFFF;
        color:#000000;
      }

Replace the xxx after '.post-' with the previously copied ID class. To change the background color, replace the FFFFFF with a hex color code of your choice. Repeat the same with the 000000 in the third line to customize the text color of that post/page.

7. Hit Publish to save your changes.

How To Add A Video Background In WordPress

Using video backgrounds can be a great way to impress and educate your visitors about your brand. Since most WordPress themes do not have a built-in function to add a video to your background, we'll be using the Advanced WordPress Backgrounds plugin for this method.

wordpress-add-plugins

1. Log in to WordPress and click on Plugins > Add New from the left navigation menu.

advanced-wordpress-backgrounds

2. Type 'Advanced WordPress Backgrounds' in the search bar. Click Install Now and Activate.

page-edit-wordpress

3. Go to Pages using the left menu and click Edit on the page you want to customize.

block-add-AWB

4. Tap on the + button in the upper left corner and search for the AWB block. Click to add it to your page.

wordpress-video-background-theme

5. In the right navigation bar, switch to Video. (You can also add background images by switching to the Image tab.)

  • Paste a YouTube or Vimeo link under the Video URL text box to apply an online video.
  • To apply a downloaded video, switch to the Self Hosted tab. Select one of the video formats and upload a clip from your computer in the Media Library.
video-parameters-edit

6. Edit the video using the following parameters:

  • Start/End Time
  • Loop and Always Play
  • Background and Overlay Color
  • Mouse and Standard Parallax
  • Spacing
block-layering-wordpress

7. Click on the + button to add more blocks over the video. As you add more content, AWB will automatically adjust the dimensions of the video.

page-update-button

8. Press the Update button in the top right to publish the changes.

FAQs

Here are some answers to common questions about background colors in WordPress!

How do I change the font color in WordPress?

If you're using the default theme customizer, you can find the option to change font color under Global or General Settings. Find this option under Block Settings above the background selector.

How do I change the header background color in WordPress?

To change the header color of your WordPress site, go to Appearance > Customize and click on Additional CSS. Paste the following code snippet and replace XXXXXX with your chosen background color hex code:

        .site-header {
            background-color: #XXXXXX;
        }

How do I change the primary color of my WordPress theme?

Log in to your WordPress dashboard and go to Appearance > Customize. Select Global or Colors from the left menu depending on what theme you're using. Click on Primary Theme Color or Accent Color and choose a shade using the palette. Hit Publish once you're done. 

Conclusion

Colors can greatly impact how customers perceive your website or e-commerce store. By choosing a solid background color, you can create a persona that resonates with your target audience and drives growth. 

If you want to make more dramatic customizations to your website, check out our list of the 15 Best Animated WordPress Themes.

Or, if you want to learn more about CSS, read our guide on 3 Simple Ways To Edit CSS In WordPress Without Breaking Your Design.

Related Posts

wp optimize vs wp rocket.
WP-Optimize vs WP Rocket: Which WordPress Caching Plugin is Better?
wp rocket review.
WP Rocket Review: Is This The Best WordPress Caching Plugin?
best wordpress translation plugins.
10 Best WordPress Translation Plugins For Global Traffic & Reach
best free wordpress plugins.
17 Best Free WordPress Plugins You’ll Want to Install
convert pro review.
Convert Pro Review: Is This Optin Form Plugin Any Good?

Posted in

Wordpress

By Ahmed Lodhi

Ahmed is a full-time writer, tech junkie, and entrepreneurial student. Over the years, he has actively helped website owners accelerate their rankings with informative, easy-to-read, and engaging articles.

When he’s not working, you’ll find him chilling with his buddies or racing them at the local karting circuit.

Want to learn step-by-step how I built my Niche Site Empire up to a full-time income?

 

Yes! I Love to Learn

Learn How I Built My Niche Site Empire to a Full-time Income

  • How to Pick the Right Keywords at the START, and avoid the losers
  • How to Scale and Outsource 90% of the Work, Allowing Your Empire to GROW Without You
  • How to Build a Site That Gets REAL TRAFFIC FROM GOOGLE (every. single. day.)
  • Subscribe to the Niche Pursuits Newsletter delivered with value 3X per week

 

    My top recommendations

     

    Link Whisper Case Study: How 7 Successful Niche Site Owners Are Using It To Help Grow Their Sites

    By Dan Morris

    Surfer SEO Review: Is It the Best All-In-One On Page SEO Solution?

    By Eric Burns

    RankIQ review.

    RankIQ Review: Is This AI SEO Toolset Worth Your Time and Money?

    By Amy Derungs

    jasper ai review.

    Jasper AI Review (Jarvis AI): Is It Still The Best AI Writing Assistant?

    By Dan Morris

    Content Pit Review: Is it Possible to Find Fast, Inexpensive, and High Quality Content?

    By Brady Cargle

    Want to learn step-by-step how I built my Niche Site Empire up to a full-time income?

     

    Yes! I Love to Learn

    Latest articles

     

    Podcasts

    My Local Email Newsletter Makes Over $200k/Year…Here’s How

    By Samara Kamenecka

    Make Money Online

    21 of the Fastest Growing Remote Jobs to Take Your Career Online

    By Maia Ellis

    Podcasts

    Google UNLEASHES June 2024 Spam Update

    By Samara Kamenecka

    Blogging & Niche Websites

    GA4 Tracking Code: Where to Find it and How to Add it to Your Site?

    By Steve Allen

    Podcasts

    How Andy Skraga Made Over $500k from Facebook Traffic

    By Samara Kamenecka

    Success Stories

    How Esther Lee and Jacob Fu’s Travel Blog Earns 6 Figures a Year from Ads, Sponsorships, and Affiliates

    By Samara Kamenecka

    View All Articles

    Ready to find your niche?

    I would love to learn about…

     

    Subscribe

    Join Over 67,000 People Like You!

    Learn how to build a business online

     

    • We will never spam or sell your information.
    • This field is for validation purposes and should be left unchanged.

    • Privacy Policy
    • Terms of Use
    • Cookie Policy

    © 2024 Niche Pursuits

    • Earnings Disclaimer
    • Amazon FBA
    • Web Design by Fhoke

    Niche Pursuits is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for us to earn fees by linking to Amazon.com and affiliated sites.