• 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

Added header image to Genesis sample child theme, but not showing full logo

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 › General Discussion › Added header image to Genesis sample child theme, but not showing full logo

This topic is: not resolved
  • This topic has 4 replies, 4 voices, and was last updated 10 years ago by sebastienserre.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • April 16, 2016 at 10:19 pm #183760
    angiehull
    Member

    I followed instructions sent to me to add a custom header image to the Genesis sample theme, making sure that the dimensions of my logo match the dimensions in the code exactly, yet I am still asked to crop the image when saving to the media library. I have saved the image as logo.png as required. Hours spent on this - very frustrating! Can anyone help please? I have taken screen shots but cannot add them here. Site not live so can't provide URL.

    April 17, 2016 at 1:15 am #183762
    Andykev
    Participant

    Don't know what "instructions sent" mean...but did you add the image dimensions to your functions.php file?
    Something like this:

    //* Add support for custom header
    add_theme_support( 'custom-header', array(
    	'flex-height'     => true,
    	'width'           => 960,
    	'height'          => 200,
    	'header-selector' => '.site-title a',
    	'header-text'     => false,
    ) );

    You change the "width" and "height" to match the size of the image you have made for your header. So in my example, I have a full width header image. You can make it what you want.

    April 17, 2016 at 11:00 pm #183805
    angiehull
    Member

    Thank you @Andykev, the "instructions sent" refers to an earlier enquiry of mine and pointed me to http://wpbeaches.com/add-custom-header-image-genesis-sample-theme/ which I followed exactly (I think). But I see that your example code has an additional line at the end 'header-text' => false, so perhaps this is the cause of the problem. What do you think? Initially I had a larger image so changed the height and width as you suggest, but that didn't work either. Might try to add in the additional line about the header-text and see what happens. If you follow the link you will see that it "recommends" parameters but that the 'flex-height' => true, and 'flex-width' => true, should override the recommended size anyway. It doesn't seem to.

    April 18, 2016 at 8:11 am #183829
    Christoph
    Member

    Hi,

    when you add a new header image, it always says "Select and Crop".

    After you click on the button, you should see the image overlayed with a rectangle showing the area that will be visible.
    http://screencast.com/t/qN3R0ZJXxpCE

    If the image is bigger than the area, you can select the area you want to show and crop it.
    If it fits right into the area, just click skip cropping.


    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    April 20, 2016 at 9:24 am #183990
    sebastienserre
    Member

    Hello,

    What's new?
    i have a similar problem... but pictures as logo isn't shown.... any idea?

    https://www.dropbox.com/s/oyw9m3k0pr8c16t/genesis-logo.jpg?dl=0

    Thx

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘General Discussion’ 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

© 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