• 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

Spacing under posts and pages

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 › Spacing under posts and pages

This topic is: not resolved

Tagged: css, News Pro, site-container-wrap

  • This topic has 9 replies, 3 voices, and was last updated 2 years, 2 months ago by cricketyorkshire.
Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • December 31, 2020 at 7:30 am #502447
    cricketyorkshire
    Participant

    Hi, I'm using Genesis 3.3.3 and News Pro 3.2.2.

    I have installed WPMU Dev Pro plugins (Forminator Pro, Hustle Pro etc) and since doing that, there is extra spacing under all my posts and pages that wasn't there before.

    The advice was CSS code causing that spacing is here:
    .site-container-wrap {
    border: 1px solid #e3e3e3;
    margin: 60px auto;
    max-width: 1140px;
    }

    To fix this, it was suggested I add this to additional css in theme settings:
    .site-container-wrap {
    margin-bottom: 0 !important;
    }

    This didn't work and I was asked to contact Studiopress to adjust the CSS on the theme style.

    Would appreciate any suggestions and steps of where to add any code. I wouldn't know where to start and it's a problem I need to fix urgently.

    Thanks and all the best to everyone on the Forum for 2021!

    https://cricketyorkshire.com/about/
    December 31, 2020 at 4:15 pm #502448
    Anita
    Keymaster

    I don't see any spacing issues. I do see a space for a few seconds until the Comment section loads at the bottom, but that's coming from sort of plugin.


    Love coffee, chocolate and my Bella!

    December 31, 2020 at 4:23 pm #502449
    andytc
    Participant

    If you mean the very large white space at the bottom of the pages and posts , it might be an inline style being dynamically added to the main content class as below , probably some JS from a plugin working on that , maybe one of the plugins you mentioned -

    <main class="content" id="genesis-content" style="min-height: 4804.02px;">

    which results in the style declaration in DEV tools shown below -

    element.style {
        min-height: 4804.02px;
    }

    Try disabling the plugin temporarily and see the result , in any event , this isn't being caused by genesis or the theme.

    December 31, 2020 at 4:26 pm #502450
    andytc
    Participant

    Happy New Year Anita !! xx

    December 31, 2020 at 4:28 pm #502451
    Anita
    Keymaster

    Hi @andytc Happy New Year to you too! I don't see that space. Where is it? What browser? I only looked in Firefox.


    Love coffee, chocolate and my Bella!

    December 31, 2020 at 4:37 pm #502452
    andytc
    Participant

    I looked in chrome, it was a little flaky , one minute it was showing, then after opening and closing Dev tools , it disappeared, then returned.. so weird , I’ve also just checked and think news pro adds a min-height to the content div , it does on the demo , a conflict somewhere with a plugin style I’d guess. The space appears after all content, before the footer and is under class Main

    December 31, 2020 at 4:41 pm #502453
    Anita
    Keymaster

    I think it might be that bar at the bottom maybe. If I click that off and refresh, that space is gone.


    Love coffee, chocolate and my Bella!

    December 31, 2020 at 4:47 pm #502454
    Anita
    Keymaster

    Hummm that's not it. I think it's that plugin doing it too.


    Love coffee, chocolate and my Bella!

    December 31, 2020 at 5:19 pm #502455
    andytc
    Participant

    It’s a weird one for sure

    cricketyorkshire , try disabling plugins and check when that space disappears, the CSS you were given is not the solution.

    January 2, 2021 at 11:34 am #502462
    cricketyorkshire
    Participant

    Thanks andytc and Anita, appreciate the help. Like you, I get it on some articles and not others. I'll try to isolate the problem by turning off plugins individually.

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

© 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