• 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

Header Image Not Responsive

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 › Header Image Not Responsive

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 9 years, 7 months ago by keithmoore43.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • July 14, 2016 at 1:55 pm #189492
    keithmoore43
    Member

    Beginner web guy working with a Genesis sample theme. I got my page looking good on my monitor, but it changes in ugly ways when I start checking it out on other monitors or my iPhone. In particular I created a header image that extends the width of the screen on my monitor, but it doesn't expand on other monitors, leaving a green space on the right edge of the header.

    As far as I can tell I have the width: 100% set for this image in the css code related to this image, but the problem is there, so I must be missing something. Any pointers?

    http://www.keith-moore.net

    http://www.keith-moore.net
    July 15, 2016 at 9:09 am #189535
    Adam Bradford
    Member

    Hey Keith,

    Try this

    
    .header-image .site-title > a {
        background: url(http://keith-moore.net/wp-content/uploads/2016/01/keith-banner-final.gif) no-repeat center;
        float: left;
        min-height: 120px;
        width: 100%;
        background-size: cover;
    }
    
    @media only screen and (max-width: 960px){
        .site-header .wrap {
            padding: 0;
        }
    }
    

    Adam Bradford

    Director of Web Development at Highforge

    July 15, 2016 at 9:35 pm #189571
    keithmoore43
    Member

    OK, the image now stretches out on different monitors. Thanks!

    But on mobile screens it only uses a fraction of the image. Do I need to fix this under @media in the CSS section?

    Didn't realize the can of worms I opened with all this stuff going out of whack on different screens. I still gotta figure out why the widget and main body areas are so far apart as well...

    July 19, 2016 at 10:11 pm #189828
    keithmoore43
    Member

    Going to bump this and see if there are any other ideas to pursue. I understand I need to change the CSS related to my media queries, but I'm not sure what to change. Do I need to create resized images for each one? Setting width: 100%; doesn't work.

    For starters I just want to get the header image on the iPhone to look the same as the desktop. So I'd be modifying "@media only screen and (max-width: 800px)" correct?

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