• 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

News Pro White Space/Gap Beneath Header in Mobile

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 › News Pro White Space/Gap Beneath Header in Mobile

This topic is: resolved

Tagged: gap, header, News Pro, white space

  • This topic has 3 replies, 2 voices, and was last updated 2 years, 10 months ago by jvince81.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • May 16, 2020 at 11:18 pm #498735
    jvince81
    Member

    Hi folks,

    Apologies if this has been answered already - I just spent the last hour searching the community forums, but couldn't find an answer. I'm using New Pro on my website and when the website goes into mobile mode, there is a massive white space underneath the header image. Is there a way to remove that huge chunk of white space?

    https://www.xheadlines.com/

    Thanks,
    Joe

    https://www.xheadlines.com/
    May 17, 2020 at 7:47 am #498745
    jvince81
    Member

    I reached out to StudioPress and they were able to address my concern by having me add the following to Appearance >> Customize >> Additional CSS:

    @media only screen and (max-width: 1023px) {
        .site-header .wrap {
            padding: 0;
        }
    }
    
    @media only screen and (max-width: 600px) {
        .header-image .site-header .site-title a {
             background-size: cover !important;
        }
    }
    
    May 17, 2020 at 7:47 am #498746
    Anita
    Keymaster

    Did you resolve your issue? I do not see the white space you are describing. If not, what mobile device are you using?


    Love coffee, chocolate and my Bella!

    May 21, 2020 at 11:44 am #498888
    jvince81
    Member

    Hi Anita,

    Yes, my issue was resolved with help from the folks at StudioPress. This is the code that I inserted to solve the problem.

    @media only screen and (max-width: 1188px) {
    	.header-image .site-title > a {
            background-position: top !important;
    				background-position: left !important;
            background-size: contain !important;
    			min-height: 130px;
        }
    
    @media only screen and (max-width: 1023px) {
    	.header-image .site-title > a {
            background-position: top !important;
    				background-position: left !important;
            background-size: contain !important;
    			min-height: 130px;
        }
    
    @media only screen and (max-width: 900px) {
    	.header-image .site-title > a {
            background-position: top !important;
    				background-position: left !important;
            background-size: contain !important;
    			min-height: 101px;
        }
    	
    @media only screen and (max-width: 752px) {
    	.header-image .site-title > a {
            background-position: top !important;
    				background-position: left !important;
            background-size: contain !important;
    			min-height: 94px;
        }
    
    @media only screen and (max-width: 600px) {
    	.header-image .site-title > a {
            background-position: top !important;
    				background-position: left !important;
            background-size: contain !important;
    			min-height: 54px;
        }

    Regards,
    Joe

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘News Pro White Space/Gap Beneath Header in Mobile’ 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

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