• 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

Focus theme responsive header with enormous gap

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 › Focus theme responsive header with enormous gap

This topic is: not resolved

Tagged: css, header, responsive header

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 1 month ago by ireneogier.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 18, 2014 at 7:08 am #101130
    ireneogier
    Member

    Hi there

    For theme Focus we made this website: http://www.fleurdedag.nl/

    To show the header responsive on the Iphone I add the plugin genesisi-responsive-header. So far so good....

    But now the Focus theme responsive header shows an enormous gap due to
    #header .wrap {
    min-height: 250px;
    overflow: hidden;
    }
    When I change this to min-height: 100%; it's oke for the responsive header but the normal header shrinks to much.
    Can anyone tell me what to do?

    Kind regards
    Irene

    http:// http://www.fleurdedag.nl/
    April 19, 2014 at 7:08 am #101266
    Tom
    Participant

    Hi Irene,

    Try placing this code at the bottom of your style.css file:

    @media only screen and (max-width: 768px) {
        #header .wrap {
            min-height: 100%;
    }

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    April 22, 2014 at 2:25 am #101815
    ireneogier
    Member

    thanks Tom,
    Unfortunately it leaves a big gap. The hight is 181px but it won't respond with 🙁


    @media
    only screen and (max-width: 768px) {
    #header .wrap {
    min-height: 100%;
    }

    Do you have any other ideas?

    April 22, 2014 at 7:55 pm #101984
    Tom
    Participant

    You've inserted the snippet for 768px into the media query @media only screen and (max-width: 600px) (and also broke the 600px MQ).

    Placed correctly on its own, the code will work.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    April 23, 2014 at 2:57 am #102009
    ireneogier
    Member

    Hi Tom,
    Thanks. That worked for the 768px, Yes! The 320 leaves a little gap though.... Tried to declare min-height: 108px; but it won't do the tric.... do you have a last suggestion?


    @media
    only screen and (max-width: 768px) {
    #header .wrap {
    min-height: 100%;

    }
    }


    @media
    only screen and (max-width: 320px) {
    #header .wrap {
    min-height: 100%;
    }
    }

    April 23, 2014 at 11:16 am #102082
    Tom
    Participant
    @media only screen and (max-width: 320px)
    #title-area {
      height: 69px !important;
    }
    @media only screen and (max-width: 240px)
    #title-area {
      background: url(http://www.fleurdedag.nl/wp-content/uploads/2014/04/header240.jpg) no-repeat center !important;
      background-size: contain !important;
      width: 100% !important;
      height: 72px !important;
    }

    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    April 24, 2014 at 6:21 am #102129
    ireneogier
    Member

    Thanks a lot Tom!

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