• 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

Eleven40 Adding Larger Image In Header Area

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 › Eleven40 Adding Larger Image In Header Area

This topic is: not resolved
  • This topic has 4 replies, 3 voices, and was last updated 10 years, 6 months ago by pxforti.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • July 6, 2015 at 10:42 am #158520
    Tim.S
    Member

    Hi there,

    I've been curious about adding either a larger image in the header area or just below it.

    While I found two good articles concerning how to do it, see

    Change Logo & Header Image Sizes In Genesis

    https://sridharkatakam.com/tag/eleven40-pro/

    I'm not sure how having a larger image will be handled on smaller screens such as tables and smartphones.

    So in general, if we choose to add a larger image such has in the header or below it, will that make the site non-mobile friendly? Or, does the responsiveness of the design take care of that?

    Thanks

    Tim

    July 6, 2015 at 2:01 pm #158542
    pxforti
    Participant

    First, if you are not pretty comfortable with php and css, this is not a trivial change.

    If you change the header image size, you'll have to change the css rules associated with it and change the functions.php code:
    Below is the code for the header image. You'd have to change the width and height to match your image.

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

    If the image is NOT the header image you add through the wordpress Header Customizer, then the images are set in stylesheet to be 100% max of their container. That means if the container shrinks, as in smaller devices, the image automatically shrinks with it.


    writeNowDesign
    WordPress and Ecommerce Website Design

    July 7, 2015 at 9:36 am #158668
    Tim.S
    Member

    Thanks for the advice. I do have a sandbox account to try this out on.

    "If the image is NOT the header image you add through the wordpress Header Customizer, then the images are set in stylesheet to be 100% max of their container. That means if the container shrinks, as in smaller devices, the image automatically shrinks with it."

    That helps me conceptualize this. Will give it a go on the sandbox account.

    Thanks!
    Tim

    February 26, 2016 at 10:51 am #179991
    cmagras
    Member

    But what if you DO want it to be the header image (added in "Customize")? Is there a way to still make it mobile friendly?

    February 26, 2016 at 10:56 am #179992
    pxforti
    Participant

    Have you tried using background-size: contain !important;

    ?


    writeNowDesign
    WordPress and Ecommerce Website Design

  • 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

© 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