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;
            }
  5. Click Update File.


Article ID: 1086
Created On: Mon, Nov 16, 2020 at 8:55 PM
Last Updated On: Wed, Nov 18, 2020 at 9:21 PM

Online URL: https://www.heartinternet.uk/support/article/change-the-theme-background-color-in-wordpress.html