Archived topic
How to set a space between page and comments?
8 replies · Started by Markus on August 28, 2016
Hi Tom,
I am not quit sure if this in connection with the GP Premium 1.2.87 Update.
But (since then?) I encouter a missing space between:
* Article and comments (missing only on pages, not on posts)
* Article Excerpt (on search and tag pages) and next article (missing only under pages, not under posts)
Any idea?
Markus
Another one - probably not connected with the first topic.
In the editor for posts I find a setting called Gekachelte Block Breite in English maybe something like Masonary Block Width.
Settings are [Global Settings, Small, Medium, Big].
Ho to set this for pages as well?
Thank you for your time.
Markus
Hi Markus,
Can you link me to pages where this spacing issue is happening?
The Masonry Block Width only applies to posts affected by Masonry. You can set it up for other post types like this: https://generatepress.com/forums/topic/make-masonry-work-for-custom-post-types/page/2/#post-174854
Hi Tom,
thank you for hint regarding Masonry Block Width on post types. Works!
Here are the examples for the first qustion:
Tag Page with one Post (upper left) and three pages.
https://insoguide.de/thema/insolvenzeroeffnungsgrund
Single Post
https://insoguide.de/indat-report-2016-zieht-bilanz-nach-4-jahren-esug
Single Page
https://insoguide.de/insolvenzeroeffnungsgruende
For the first issue, it's because you have pages in your masonry list. Try this:
.masonry-post {
margin-bottom: 20px;
}
Not sure I'm seeing what's wrong on the other two pages though?
Hi Tom.
Thank you, the CSS works fine.
The remaining problem is as described in the heading: no space between article and comments.
See last link (single page).
On single posts it's allright.
Ah, nice find.
Try adding this CSS:
.page .comments-area {
margin-top: 20px;
}
I'll get this fix added :)
Done. Thank you.
No problem :)