Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 96636

didr on "How to override args of 2013 for custom-header from child theme"

$
0
0

I put in the functions.php of a child theme of 2013 the code

function twentythirteenchild_custom_header_setup() {
	$header_args = array( 'height' => 182,
						  'width' => 940);
	add_theme_support( 'custom-header', $header_args );
};
add_action( 'after_setup_theme', 'twentythirteenchild_custom_header_setup' );

[Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

for changing the width and height of the header but it didn't work. What is wrong?


Viewing all articles
Browse latest Browse all 96636

Trending Articles