Title: Make header larger
Last modified: August 20, 2016

---

# Make header larger

 *  Resolved [rracanel517](https://wordpress.org/support/users/rracanel517/)
 * (@rracanel517)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/make-header-larger/)
 * Hey Caroline,
 * Thanks for making such a great theme! I’m trying to make my custom header larger.
   Right now the max is 150X150. Is there a way to change this in the stylesheet
   or anywhere else? It’s a little too small right now. I’ve tried a few things 
   and it isn’t working..
 * If that’s not possible, any other suggestions?
 * Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Theme Author [Caroline Moore](https://wordpress.org/support/users/sixhours/)
 * (@sixhours)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393539)
 * You can use a [child theme](http://codex.wordpress.org/Child_Themes) to do this.
   I recommend using [Firebug](http://getfirebug.com) for CSS work–makes it much
   easier.
 * Style.css line 670 is where a max height gets defined in the stylesheet. You 
   can set a new max-height on the image in your child theme’s style.css.
 * You also need to create a new functions.php file in your child theme and filter
   the width/height on the custom header. Look in the theme’s /inc/custom-header.
   php file to see how the custom header’s default arguments are defined. Then add
   a filter to your child theme’s functions.php like so:
 *     ```
       /**
        * Change default custom header size
        */
       function spun_custom_header_args( $args ) {
   
       	$args = array(
       		'width'   => 200,
       		'height'  => 200,
       	);
       	return $args;
   
       }
       add_filter( 'spun_custom_header_args', 'spun_custom_header_args', 999 );
       ```
   
 * Untested, but this gives you an idea of where to start.
 *  Thread Starter [rracanel517](https://wordpress.org/support/users/rracanel517/)
 * (@rracanel517)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393542)
 * Thanks so much!
 *  [gfr77](https://wordpress.org/support/users/gfr77/)
 * (@gfr77)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393729)
 * I also want to change the header image.
    In this theme its 150×150 and i want
   to put an image that has 200×400
 * I have a Child Theme to do my changes, but i don’t know how to change the image
   header.
 * What i have to do?
 * I have to create my own custom-header.php and change these lines:
 *     ```
       function spun_custom_header_args( $args ) {
   
       	$args = array(
       		'width'   => 200,
       		'height'  => 200,
       	);
       	return $args;
   
       }
       add_filter( 'spun_custom_header_args', 'spun_custom_header_args', 999 );
       ```
   
 * Or I have to create a file called functions.php i put the same lines there
 * How to call from the main css spun-child.css to functions that are in function.
   php?
 *  Theme Author [Caroline Moore](https://wordpress.org/support/users/sixhours/)
 * (@sixhours)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393730)
 * You add the above code to a new file, functions.php, in your child theme. You
   don’t need to worry about calling it from the stylesheet, WordPress automatically
   does that because it’s part of the child theme.
 * If you have further questions, please post a new topic, as this one has been 
   resolved. Thanks.
 *  [kmpaperie](https://wordpress.org/support/users/kmpaperie/)
 * (@kmpaperie)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393753)
 * Was this ever fixed? Im having the same issue.
 *  [flaviove](https://wordpress.org/support/users/flaviove/)
 * (@flaviove)
 * [13 years ago](https://wordpress.org/support/topic/make-header-larger/#post-3393804)
 * The only need is to change the size you want at …/theme/spun/inc/custom-header.
   php
 * function spun_custom_header_setup() {
    $args = array( ‘default-image’ => ”, ‘
   default-text-color’ => ‘999’, ‘width’ => 500, <==========here ‘height’ => 200,
   <==========here
 * Cheers,
 *  [rachellucie](https://wordpress.org/support/users/rachellucie/)
 * (@rachellucie)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393810)
 * Hi there,
 * I have created a child theme, installed the style.css and the new functions.php
   following the instructions – however, I still get a crop box when uploading my
   theme that is smaller than my new dimensions:
 * my logo is 280×40
 * I made the functions.php 300×50
    I made the #masthead max size 400 BUT the crop
   box is showing as being 240×40.
 * Any help with this would be appreciated, thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Make header larger’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/spun/2.0.2/screenshot.png)
 * Spun
 * [Support Threads](https://wordpress.org/support/theme/spun/)
 * [Active Topics](https://wordpress.org/support/theme/spun/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/spun/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/spun/reviews/)

## Tags

 * [change](https://wordpress.org/support/topic-tag/change/)
 * [header](https://wordpress.org/support/topic-tag/header/)
 * [larger](https://wordpress.org/support/topic-tag/larger/)

 * 7 replies
 * 6 participants
 * Last reply from: [rachellucie](https://wordpress.org/support/users/rachellucie/)
 * Last activity: [12 years, 12 months ago](https://wordpress.org/support/topic/make-header-larger/#post-3393810)
 * Status: resolved