Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using WP 3.5 for a CMS for one of our clients. I need to have a bigger header image than 940 × 250 pixels, so I changed width and height parameters, but when I try to upload a new image, it still asks me to crop it. What am I doing wrong?

    $settings = array(
    'width'                  => 1700,
    'height'                 => 300,
    'flex-height'            => true,
    'flex-width'             => true,
    'header-text'            => false,
    'uploads'                => true,
);
add_theme_support( 'custom-header', $settings );
share|improve this question
    
What theme are you using? –  Eckstein Jun 17 '13 at 7:02

1 Answer 1

If you're using Twenty Eleven, just add this to your functions.php file and you should be good to go:

remove_filter( 'HEADER_IMAGE_WIDTH', 'twentyeleven_header_image_width' );
remove_filter( 'HEADER_IMAGE_HEIGHT', 'twentyeleven_header_image_height' );
define( 'HEADER_IMAGE_WIDTH', apply_filters( 'child_header_image_width', 1700) );
define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'child_header_image_height', 300) );
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.