• 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

Outreach Theme- Need help with Header image 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 › Outreach Theme- Need help with Header image size

This topic is: not resolved

Tagged: header image wont stay correct size, outreach header

  • This topic has 37 replies, 10 voices, and was last updated 9 years, 11 months ago by Jen Baumann.
Viewing 18 posts - 21 through 38 (of 38 total)
← 1 2
  • Author
    Posts
  • April 9, 2013 at 4:23 pm #34393
    Doak Heggeness
    Member

    Do you want to add a logo in lieu of the site title and description?


    Doak Heggeness, WordPress Development | Website

    April 9, 2013 at 4:27 pm #34397
    PageH
    Member

    Yes, I want to add an image logo, just as the others in this post have done.

    April 9, 2013 at 5:03 pm #34404
    Brad Dalton
    Participant

    Don't think you want to use Simple hooks for this.


    Tutorials for StudioPress Themes.

    April 9, 2013 at 5:08 pm #34406
    PageH
    Member

    Ok then, ????????  Other options from other forum posts have either stretched the image to the default widget, or made me crop them to the default height, even when I change the size in the editor.

    April 10, 2013 at 8:51 am #34519
    Doak Heggeness
    Member

    PageH,

    1) Uncomment out the following in the functions.php file:
    /** Add support for custom header */
    /* add_theme_support( 'genesis-custom-header', array(
    'width' => 1060,
    'height' => 120
    ) ); */

    2) Go to Genesis/Theme Settings and change 'Header' settings to 'Image Logo.'
    3)In Style.css add your image logo:

    /* Image Header - Partial Width
    ------------------------------------------------------------ */
    .header-image #title a {
    background: url( 'images/my-logo.jpg' ) no-repeat;
    }

    4) You will need to adjust the height of your image or #header selector property 'heigh't to accommodate each other. You may also have to adjust the #title margin selector to your preference.

    Hope this helps.


    Doak Heggeness, WordPress Development | Website

    April 10, 2013 at 10:15 am #34555
    PageH
    Member

    Thank you for your response.  Forgive my neophyte-ness (if that's a word) but when you say to uncomment out, does that mean delete it?

    April 10, 2013 at 10:26 am #34561
    Brad Dalton
    Participant

    @PageH

    The problem i see with your logo is the height and width vales need to be changed on line 229 of your child themes style.css file:

    Example:

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

    I changed these using Firebug and your logo looks fine now.

    Also try chaging the values in your child themes functions.php file:

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

    Tutorials for StudioPress Themes.

    April 10, 2013 at 10:30 am #34564
    Doak Heggeness
    Member

    PageH,

    You can delete it or 'uncomment' ( /* 'code' */ ) it out in case you might want to use it in the future. I have included the
    uncomment ( /* ) out before the add_theme_support and ( */ ) after )); in my post. All this does is cause the block of code not to load.


    Doak Heggeness, WordPress Development | Website

    April 10, 2013 at 10:43 am #34570
    PageH
    Member

    Doak Heggeness, I follow your uncomment description now, thank you.  I completed step one, can't find  ‘Header’ settings to ‘Image Logo’ in Genesis/Theme Settings and would love some clarification on step #4.

    April 10, 2013 at 3:47 pm #34639
    Doak Heggeness
    Member

    PageH

    You probably did not save your changes to the functions.php. If you 'commented out' that function the 'Header' metabox will display in Genesis/Theme settings ( 5th one down ). It will not display by default. Check you functions.php to see.
    Item #4 is related to styling. Make your logo image 100px in height to fit the default header height. You maybe/will have to adjust the margin to fit logo proportionately in header. If you want a larger/smaller logo you will have to adjust the height of the header.
    Also, you need to upload your image to the 'images' directory of the Outreach theme.


    Doak Heggeness, WordPress Development | Website

    April 11, 2013 at 9:58 am #34749
    PageH
    Member

    You were correct, I didn't save my changes to functions.php.  Once I went back in and added the uncomment code, the header option showed up in the Genesis/Theme settings.

    Now to tackle your sizing instructions.  Logo is still cut off.

    April 11, 2013 at 11:13 am #34769
    dreamscape
    Member

    Brad, et al.,
    I implemented your changes, however Firebug shows something else is superseding the edits you had me make? With your suggested revisions, I saw a little movement (the tiled background image now is larger than before) however the image still doesn't take up the full header area, the header background is not yet black (090909) and resizing the browser window crushes the whole background image down instead of the background image staying fixed at 100%.

    I combed through the few pages of the child theme and cannot isolate where the first header call is being made. If I delete the header image using the Appearance>Header interface, the header graphic disappears and reappears as one would expect.

    Any ideas?

    http://www.cepipelineservices.com

    Matt

    April 11, 2013 at 1:04 pm #34805
    Brad Dalton
    Participant

    Worked perfectly for me in Firebug on your site.

    Email me a copy of your child theme [email protected]


    Tutorials for StudioPress Themes.

    April 11, 2013 at 8:34 pm #34892
    dreamscape
    Member

    Brad, thank you for taking a look at this. I just sent it over.

    April 12, 2013 at 7:37 am #34968
    styzer
    Participant

    I have similar issues with Outreach.

    Spent hours trying a zillion ways to try and get a header going.

    The theme creators should look into this. I haven't seen them intervene? It shoudln't be that difficult to place a header and center it. Going to follow this thread with great interest. My next move will be to try another theme which may not have this issue with allowing custom header changes.

    Regards,

    Andre

    April 12, 2013 at 7:43 am #34970
    PageH
    Member

    I agree.  I've worked with around ten of the Genesis themes (give or take a few) and have never struggled this much with a simple problem.  I would switch themes, but this is the client's choice so I need to stick with it.

    I'm not a web developer or expert designer, but I also agree that they should track the forums on the themes they've developed.  It can only benefit them, and all of the users.

     

    April 12, 2013 at 8:15 am #34975
    styzer
    Participant

    I sent a support ticket asking StudioPress to look into it and included a link to this thread. Maybe if enough people also send a support ticket it will grab their attention...

    I suspect there is a "relative" positioning of some elements which, once titles are removed, forces the header to be left algned. But I don't know...

    April 12, 2013 at 8:42 am #34989
    Jen Baumann
    Participant

    Hi everyone. I'm going to close this thread since it seems to be causing great confusion for users. If you are having problems with your Outreach custom header, please submit a support ticket at http://my.studiopress.com/help/.

  • Author
    Posts
Viewing 18 posts - 21 through 38 (of 38 total)
← 1 2
  • The topic ‘Outreach Theme- Need help with Header image 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

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