Executive Theme – How Do You Upload a Larger Header

Community Forums Forums Design Tips and Tricks Executive Theme – How Do You Upload a Larger Header

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  bustagums 1 year, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #52560

    bustagums
    Participant
    Post count: 3

    I changed the Header dimensions in the functions.php file where the stock Header values are which then made my header area larger as it should.

    Now that being said… I cannot remember for the life of me how to upload the new larger header!!! You cannot upload the header through the theme because it makes you crop it.

    Does anyone know where I add in the Custom Header at via FTP? I have done this before in other themes and cannot remember how now.

    Here is the site: http://www.roofingtheflathead.com/ Executive them. I appreciate any help!

    #52564

    dev
    Participant
    Post count: 453

    There are lots of ways around this.

    What I do is comment out the code in functions.php and just hard-code the header and background files in CSS:

    [php]
    /** Add support for custom header */
    // add_theme_support( ‘genesis-custom-header’, array( ‘width’ => 960, ‘height’ => 115 ) );

    /** Add support for custom background */
    //add_custom_background();
    [/php]

    2. Forget the above and just put this code at the end of the functions.php file… change the width/height to your own values:

    [php]
    // Add support for custom header

    add_theme_support( ‘genesis-custom-header’, array(
    ‘width’ => 385,
    ‘height’ => 100
    ) );
    [/php]

    Doing the above will let you use the WP header screen wihtout crop (if you enter the dimensions correctly!)
    Dev

    http://www.NewMediaWebsiteDesign.com

    #52568

    bustagums
    Participant
    Post count: 3

    Thanks for the info. I feel like an idiot now. I did change it in the CSS, and didn’t change it in the Functions.php file. That code above though was actually already in the file, I just had to change the height and it was done! Super easy.

    Thanks for that.

    Just a question, any idea why this info is not in the supporting documentation for each theme? Seems like it is a no brainer to me to include changing the header in the supporting documentation since I would imagine this is a common change for many people.

    Thanks again!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.