• 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

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

This topic is: not resolved

Tagged: header, responsive

  • This topic has 9 replies, 2 voices, and was last updated 11 years, 7 months ago by Jami Howard Mays.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • June 17, 2014 at 12:07 pm #110216
    krystyn
    Participant

    The site I'm working on is here: http://www.alliecatreviews.com/

    The header is working responsively after changing to a larger header, but I can't figure out how to change the height to get rid of all of the extra space on the smaller devices.

    Can somebody point me in the right direction? I'm missing something, I think.

    http://www.alliecatreviews.com/
    June 17, 2014 at 1:14 pm #110224
    Jami Howard Mays
    Member

    You've got this code:

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

    You'll want to change the min-height within your media queries to something smaller than 200px and that should adjust it.


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

    June 17, 2014 at 1:24 pm #110230
    krystyn
    Participant

    Thank you @jami-howard. I will play with that.

    I guess that's the best way to try to figure out the height it should be? I've played with the smallest two sizes and I can't get the height to go down any more for the 240 width here: http://www.studiopress.com/responsive/

    And, 320 seems to be chopping the width as well, but still leaving too much height.

    Do you have any additional suggestions.

    June 17, 2014 at 1:29 pm #110232
    Jami Howard Mays
    Member

    Are you familiar with firebug or Chrome developer tools? I'd figure out what you want your media queries to be -- you can find the declared values in your stylesheet and that should be sufficient in giving you an idea of your media breakpoints.

    If you play with the header min-height in firebug or Chrome developer tools, you can find the "just right" size that you prefer.

    Also, I really don't love the StudioPress responsive tool -- I prefer, for a general view, http://ami.responsivedesign.is/ and for a more specific view, I have a subscription to BrowserStack (a bit pricy, but it saves me SO much time when designing for resonsiveness).


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

    June 17, 2014 at 1:37 pm #110234
    krystyn
    Participant

    Thanks for the extra testing link.

    I am familiar with firebug, just not sure how to make the changes to play with mobile?

    And, I'm puzzled why changing the min-height for the various @media sizes is changing the width of the header again.

    June 17, 2014 at 1:53 pm #110237
    Jami Howard Mays
    Member

    The height and width are connected ratio-wise... If you make the height smaller, rather than distort the logo image to smoosh the height and maintain the width, the width will naturally ease with the height. The trick is to find the balance between the two.

    It's hard to explain image aspect ratios, so I'll defer to this screencast which, though it's shopify and isn't exactly topical to your header image, should help explain the aspect ratio issue. https://www.youtube.com/watch?v=oiWFh0xUmw4

    If your media query breakpoints are, based on your stylesheet:

    960
    800
    600
    460
    400
    300
    240

    Then you need to sort out the math, based on your header size. It's like, AUGH, algebra. I thought I'd never use you! 🙂

    Header Width x Header Height
    900 x ?
    800 x ?
    etc etc

    I use Chrome Developer Tools instead of Firebug, but the process it the same. Here's a screenshot where I've set the min-height to 120. Sometimes, it's easier for me to just fiddle with things in developer tools rather than do the math.

    Screenshot of Chrome Developer Tools

    Did you set your media query breakpoints or is that how it comes with the theme?


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

    June 17, 2014 at 2:07 pm #110241
    krystyn
    Participant

    Yes, I totally follow. The header is actually 1000px, so for the 240px, the height should be right around 50px (give or take). but, when I change the height, it's cropping the image width-wise, but there is still a ton of space height-wise (blank space under the header). Like there is an extra title piece or something I'm missing that is also taking up space?

    Oh, and those breakpoints were the ones automatically in the theme.

    June 17, 2014 at 2:15 pm #110244
    Jami Howard Mays
    Member

    It's here, looks like:

    #header {
    background: #e7eceb url(images/header-bg-pattern.png) repeat-x bottom center;
    margin: 0 auto;
    /* min-height: 107px; */
    min-width: 998px;
    overflow: hidden;
    padding-bottom: 40px;
    }

    I think it's the padding bottom here.


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

    June 17, 2014 at 2:16 pm #110245
    krystyn
    Participant

    Thanks! It was actually that 107px that I commented out:) I did that between asking and looking harder. Sometimes my brain thinks backwards.

    On to my algebra problem...to think I loved it in highschool! But, I think I'm getting closer!

    June 17, 2014 at 2:17 pm #110246
    Jami Howard Mays
    Member

    Good luck!


    Jami Howard Mays, HBIC, Imaj Works | Athens, Georgia

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