• 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

Make Crop bigger for Site header

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 › Make Crop bigger for Site header

This topic is: resolved

Tagged: css, education pro, header, image

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 6 months ago by kenziejoy.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • February 28, 2015 at 10:18 am #142663
    kenziejoy
    Participant

    Hi,
    I mentioned this in another post, but I thought it might be better to do one problem per post.

    We want to use an image for our header in the Education Pro Theme. I made the image box bigger than normal - I'd like 500 by 150 or so. My problem is that when I upload an image exactly that size it always makes me crop it in a weird way, smaller than I want. Originally they recommended 300x100 so is there another setting somewhere that I need to adjust to allow me to make something bigger? Right now we have an image that is 300x100 uploaded and it looks real bad.

    http://staging.everydayambassador.org/
    March 1, 2015 at 8:25 am #142728
    andystitt829
    Member

    If you go into the functions.php file inside of Education Pro, you should be able to change this block of code:

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

    You can change the width to 500 and the height to 150.

    If the overall header is still too small height-wise, you can go to line 502 in the style.css file and add a min-height property:

    .site-inner,
    .wrap {
    	margin: 0 auto;
    	max-width: 1140px;
    	min-height: 150px;
    }

    Try that and see if it works. It takes a little tinkering to get it right.

    Andy


    Andy Stitt
    Website | Twitter

    March 1, 2015 at 11:32 am #142748
    kenziejoy
    Participant

    Thank you very much,
    I did both those things and it worked finally!

    Now I just need to figure out why it isn't pushed to the left of the box. Right now the site header background is set to white so it blends with the picture, but if I color it you can see the that the image is pushed to the right. I think it has to do with floats...I'm gonna play around.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 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