Add header image
-
Hi there,
I would really like to add a header image in my Minnow child-theme.
I already tried adding the following lines of html in my child functions.php:
$args = array(
‘width’ => 980,
‘height’ => 60,
‘default-image’ => get_template_directory_uri() . ‘/images/header.jpg’,
‘uploads’ => true,
);
add_theme_support( ‘custom-header’, $args );Allthough this added a ‘header image’ option in the customizer section, my site fails to display the images that I uploade there.
Is there any way to get this working? Perhaps by adding some html-code in the header.php file?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Add header image’ is closed to new replies.