How to change Twenty Thirteen header image height
-
I’ve been scratching my head since last night and finally solved the problem. Posting here since there’s a lot of open threads with the same issue. To increase (or decrease, whatever floats your boat) Twenty Thirteen’s header image height is quite simple. First, add the code bellow to the functions.php file of your child theme:
function yourchildtheme_custom_header_setup() { $args = array( 'height' => 400 ); add_theme_support( 'custom-header', $args ); } add_action( 'after_setup_theme', 'yourchildtheme_custom_header_setup' );
Then add this to your css:
.site-header .home-link { min-height: 400px; }
You can use any value for the height, of course.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘How to change Twenty Thirteen header image height’ is closed to new replies.