Skip to main content

GoDaddy Help

Change the theme background color in WordPress

The background color of a WordPress site can be changed by modifying the CSS.

  1. Before making any changes to a WordPress theme, add a child theme.
  2. Log in to WordPress.
  3. Go to Appearance > Editor.
  4. Enter the CSS to change the background color. Below is sample code:

            .site {
                background-color: #XXXXXX;
            }
    • .site is the css class for the whole site.
    • XXXXXX is the hex code for the color you want to use.
  5. Click Update File.

More info

Community Related

lightmaven's Avatar
Lyrical Theme invisible text

1 Replies

Last posted about 4 years ago.

dtremain's Avatar
Remove discolored footer from template

4 Replies

Last posted about 4 years ago.

sykurpanda's Avatar
How do I change the background color?

3 Replies

Last posted almost 3 years ago.

imark's Avatar
Stout Theme - Dark Mode - un-viewable

2 Replies

Last posted almost 2 years ago.

Don't see what you are looking for? Search the Community