• 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

Change header size

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 › Change header size

This topic is: resolved
  • This topic has 5 replies, 2 voices, and was last updated 12 years, 6 months ago by Debra Scott.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • July 6, 2013 at 3:58 am #49484
    Jummul
    Member

    Hi fellow genesisians!

    I'm looking for a way to change my header size. It's currently the default 960x240 and I'd like to change the height to 140. My theme is Pretty Young Thing btw.

    I've tried changing this in the stylesheet
    #header {
    background: url(images/header.png);
    height: 240px;
    width: 960px;

    to

    #header {
    background: url(images/header.png);
    height: 140px;
    width: 960px;

    and also I tried changing this in the functions.php

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

    to

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

    In the headerpage in the dashboard it now reads "Images of exactly 960 ?— 140 pixels will be used as-is." but when I DO upload a 960x140 image, it adds 100 white pixels on the bottom.

    I've exaggerated this by uploading a white header with a red gradient on the bottom. Here's how it looks like:
    HEADER

    How do I remove the excess white space between the header and the post?

    Note: the navigation menu below the header is currently disabled. It will be enabled before site launch.

    July 6, 2013 at 5:19 am #49495
    Debra Scott
    Member

    you also need to change this

    /* Image Header - Partial Width
    ------------------------------------------------------------ */

    .header-image #title-area,
    .header-image #title,
    .header-image #title a {
    display: block;
    float: left;
    height: 240px; <------------
    overflow: hidden;
    margin: 0;
    padding: 0;
    text-indent: -9999px;
    width: 600px;
    }

    It is really helpful to provide a link to the issue - especially for css issues. This one was easy but many require seeing the source. 🙂


    need help with your business or personal website? Contact me at Fat Cat Designs

    July 6, 2013 at 5:30 am #49496
    Jummul
    Member

    I had changed that also (forgot to mention).

    The website in question is acupoflife.nl

    July 6, 2013 at 8:22 am #49508
    Debra Scott
    Member

    it seems as if your changes have taken affect. Are you running a cache plugin? That will stop you from seeing the changes right away. Also your header is getting cut off at 140px. Changing these out to 160px seems to be ideal.


    need help with your business or personal website? Contact me at Fat Cat Designs

    July 6, 2013 at 8:42 am #49515
    Jummul
    Member

    Thanks! I noticed when clearing cache in chrome. I thought I did that already. Thanks for the help!

    July 6, 2013 at 6:46 pm #49577
    Debra Scott
    Member

    You're welcome!


    need help with your business or personal website? Contact me at Fat Cat Designs

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Change header size’ is closed to new replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 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