• 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 Spacing Mobile – Min-height

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 Spacing Mobile – Min-height

This topic is: resolved

Tagged: header gap, header height, min-height, Pretty Creative, Pretty Darn Cute Design

  • This topic has 2 replies, 2 voices, and was last updated 9 years ago by marketme.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 15, 2016 at 12:29 pm #187600
    marketme
    Member

    Hello,

    Looking for a bit of spacing assistance. I am using the Pretty Creative theme and swapped out the smaller logo for a larger full width logo. Looks fine on the desktop and tablet views but the mobile view has a large gap and I know it has to do with the min-height set to 175px. However if I don't set the min-height to 175px it doesn't show correctly in the full desktop version. The site is http://buyavalonandstoneharbor.com/

    Any advice or suggestions??

    I have the following code:

    .header-image .site-title a {
    margin: 0 auto;
    min-height: 175px;
    width: 100%;
    }
    .header-image .site-title > a {
    background-size: contain !important;
    display: block;
    height: 100px;
    margin: 10px auto;
    text-indent: -9999px;
    max-width: 1200px;
    }

    http://buyavalonandstoneharbor.com/
    June 15, 2016 at 1:10 pm #187601
    darrenbrettking
    Member

    You could try accessing the relevant style in your media queries and adding some negative margin-bottom. Generally, if you're making changes to the main style, you often need to make an edit in the media queries as well, since one is dependent on the other.

    June 15, 2016 at 3:16 pm #187607
    marketme
    Member

    Thanks Darren! That seems to do the trick 🙂

    Dana

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Header Spacing Mobile – Min-height’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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