• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How can I increase the height of the Header background image using Sample theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How can I increase the height of the Header background image using Sample theme

This topic is: not resolved

Tagged: header height sample child theme

  • This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by mariafernandez.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • March 16, 2013 at 3:44 am #27493
    sebgates
    Member

    I am building a site, here is the url: http://southamptonyogameditation.xl-websites.com/

    I am using the Sample child theme. I want to use a background image for the header. The default image size is 1152 x 120 pixels in the 'Upload Header Image' interface. I have removed the bottom margin to the header, I have increased the min-height 120px to 184px in the style sheet (which is the #header div size). I tried uploading a background image via a css command, no luck. Does anyone know how I can use an background image higher than 120px on the Sample theme?

     

    Thanks - Seb

    March 16, 2013 at 4:37 am #27526
    sebgates
    Member

    I figured it out, change the height in the functions.php file.

    March 17, 2013 at 12:24 pm #28628
    mariafernandez
    Member

    sebgates,

    Could you share the code? I'd love to do the same thing.

    Thanks

    March 17, 2013 at 1:23 pm #28638
    bandj
    Member

    (this is from a different theme but in the functions.php file you'll find this:

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    'width' => 1140,
    'height' => 100
    ) );

    this is where you adjust the height and width that shows up in the header upload section of appearance

    March 17, 2013 at 3:03 pm #28666
    mariafernandez
    Member

    Thanks, bandj

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble