• 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

Height Adjustment in Mobile – Agentpress

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 › Height Adjustment in Mobile – Agentpress

This topic is: not resolved

Tagged: Agentpress, navigation height

  • This topic has 7 replies, 3 voices, and was last updated 11 years, 7 months ago by marketme.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • August 22, 2014 at 11:50 am #120512
    marketme
    Member

    Hello, I am hoping someone can help me out on this. I have created a site that is perfect on the desktop screen but on Ipad and Iphone (and I am sure any other small screen device) it is showing a blue space underneath of the header - in between the header and nav menu. I know it has something to do with the min-height: 150px but I haven't figured out the right combination of coding to remove the added height in the smaller screen devices.

    Any advice or ideas??

    Thank you!!
    Dana

    http://www.travismarshallgroup.com/
    August 22, 2014 at 5:01 pm #120553
    TSG
    Member

    You're right; it's the min-height. One way to remove the blue bar is to adjust the min-height through @media queries, so as the screen gets smaller so does the min-height.

    August 22, 2014 at 5:08 pm #120556
    briansteeleca
    Member

    Hi Dana,

    It would be easiest if your header image used an img tag with the width set to 100% and the height set to auto - then it would resize the same as your slider, but it would still probably look to small on a phone.

    Working with the structure you already have, I'd recommend that you use 3 different background images: one for 768 and below, one for above 768 and below 1024, and your current image for 1024 and above.

    In style.css, you have two media query breakpoints that you need to deal with:

    @media only screen and (max-width: 1023px) { }
    @media only screen and (max-width: 768px) { }

    In each, set your appropriate background image and set a new min-height (or height) to accommodate the image. An aside: you should design your images with room on each side so they'll still look good at the smallest width within each breakpoint.

    After doing that, you'll want to remove the following from the max-width 768px breakpoint (because you don't want the background to resize):

    background-size: contain !important;

    Sorry it isn't easier, but I think that should accomplish what you want.

    August 27, 2014 at 11:30 am #121370
    marketme
    Member

    Thank you both for the reply!! I managed to get the blue removed but of course the space that blue area was occupying is still there and forcing the nav menu down. It just looks a little nicer!

    So I attempted to adjust the heights in the @ media for the different sizes and it just kept my header from resizing. I also did upload two new smaller versions of the header one for 1023 and one for 768. I added in the below code but that didn't seem to fix the issue either. Am I missing something?

    .site-title a {
    background: url("http://www.travismarshallgroup.com/wp-content/uploads/2014/08/travis-marshall-group-small-copy.jpg") no-repeat scroll 0 0 rgba(0, 0, 0, 0) !important;
    }

    September 10, 2014 at 10:30 am #123758
    marketme
    Member

    Just checking again to see if anyone has any suggestions for me to try. Or if you are a developer and can do this for me, please send me a quote at [email protected]. Thanks!

    September 10, 2014 at 11:01 am #123766
    briansteeleca
    Member

    There's a plugin called Genesis Responsive Header that may solve your problem.

    And here's a video called Responsive Header in WordPress (Genesis Framework) that explains how to use it.

    September 10, 2014 at 11:23 am #123771
    briansteeleca
    Member

    I'm sorry Dana, but I just noticed Nick's last comment about his plugin:

    Thanks for trying it out but I’m afraid that there isn’t a way to use it for the HTML5 themes right now.

    So it probably won't work with your theme.

    September 10, 2014 at 12:53 pm #123797
    marketme
    Member

    Thanks so much Brian, I came across this plugin in my searches as well and saw it is not HTML 5 compatible. I appreciate the reply though 🙂

    Dana

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