Background image not appearing


I’m trying to add a custom background on a child theme. In the child theme’s functions.php, I add add_theme_support( 'custom-background'); and the background option appears under the “Appearance” menu as expected. I add the image that I want, save, and nothing happens. The image won’t appear as the background. What am I doing wrong?

Using version 4.3.1.

This is all that’s in my child theme’s function.php”


add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
function theme_enqueue_styles() {
    wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );


add_theme_support( 'custom-background');
, , , jack_of_all_trades 4 years 2020-05-22T23:10:29-05:00 0 Answers 92 views 0

Leave an answer