[Resolved] How to set a space between page and comments?

Home Forums Support [Resolved] How to set a space between page and comments?

Home Forums Support How to set a space between page and comments?

  • This topic has 8 replies, 2 voices, and was last updated 7 years ago by Tom.
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #221859
    Markus

    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

    #221861
    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

    #221873
    Tom
    Lead Developer
    Lead Developer

    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

    #222176
    Markus

    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

    #222222
    Tom
    Lead Developer
    Lead Developer

    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?

    #222243
    Markus

    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.

    #222346
    Tom
    Lead Developer
    Lead Developer

    Ah, nice find.

    Try adding this CSS:

    .page .comments-area {
        margin-top: 20px;
    }

    I’ll get this fix added ๐Ÿ™‚

    #222393
    Markus

    Done. Thank you.

    #222523
    Tom
    Lead Developer
    Lead Developer

    No problem ๐Ÿ™‚

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.