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"
?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');
Topic add-theme-support custom-background images customization Wordpress
Category Web