Community Forums › Forums › Archived Forums › General Discussion › Spacing under posts and pages
Tagged: css, News Pro, site-container-wrap
- This topic has 9 replies, 3 voices, and was last updated 4 years, 6 months ago by
cricketyorkshire.
-
AuthorPosts
-
December 31, 2020 at 7:30 am #502447
cricketyorkshire
ParticipantHi, 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 #502448AnitaC
KeymasterI 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.
Need help with customization or troubleshooting? Reach out to me.
December 31, 2020 at 4:23 pm #502449andytc
ParticipantIf 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 #502450andytc
ParticipantHappy New Year Anita !! xx
December 31, 2020 at 4:28 pm #502451AnitaC
KeymasterDecember 31, 2020 at 4:37 pm #502452andytc
ParticipantI 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 #502453AnitaC
KeymasterI think it might be that bar at the bottom maybe. If I click that off and refresh, that space is gone.
Need help with customization or troubleshooting? Reach out to me.
December 31, 2020 at 4:47 pm #502454AnitaC
KeymasterHummm that's not it. I think it's that plugin doing it too.
Need help with customization or troubleshooting? Reach out to me.
December 31, 2020 at 5:19 pm #502455andytc
ParticipantIt’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 #502462cricketyorkshire
ParticipantThanks 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.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.