This topic has 5 replies, 2 voices, and was last updated 7 years, 9 months ago ago by Olga Barlow
I am playing around with the XStore Corporate variant of the theme. I have noticed that there is some white space added automatically to the bottom of the page, above pre-footer/footer area. I do not want this, and the theme forces a gap that is not easily removed. If a gap is required, then its preferred for us to add it by way of a Visual Composer ‘Empty Space’ element, not have it forced onto every page automatically so it can’t be removed.
Investigating what was inserting the gap, I found the following when inspecting code via the Google Chrome -> right-click -> Inspect. The following is a div container and its css that seem to be the trouble.
<div class="container content-page">
.content-page, .page-content {
padding-bottom: 2.86em;
}
Please can you kindly let me know how to edit this annoying inclusion to your css? I look in theme options, custom-css but can’t find it in there.
Hello,
Yes, every page has default padding before and after content. If you don’t need it you can remove that padding by custom CSS (Theme Options > Styling > Custom CSS)
.content-page, .page-content {
padding-bottom: 0em;
}
It will remove the bottom space for all the pages, products, posts etc on your site.
Regards
Thank you Olga
I have added the above snippet of code to custom css, but the white space gap is still there. I tried after clearing the browser cache also.
I then tried again by adding !important, but still still doesn’t work.
.content-page, .page-content {
padding-bottom: oem !important;
}
Regards
Update – OK, I just got it to work. Somehow there was a letter “o” instead of zero “0” after copy and paste into custom css.
One more thing… which lines to remove padding at the top? Is it this?…
.page-heading.bc-size-small {
padding: 2.14em;
}
Regards
Hello,
Yes.
Regards
The issue related to '‘XStore – How to remove annoying white space which theme adds to pages’' has been successfully resolved, and the topic is now closed for further responses