[Resolved] grid layout homepage

Home Forums Support [Resolved] grid layout homepage

Home Forums Support grid layout homepage

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1398363
    demoxing

    Hello, I want to make a 2×2 grid homepage post layout, I want to show 2 articles in the same row. how can I do that?

    #1398370
    demoxing

    .

    #1398753
    David
    Staff
    Customer Support

    Hi there,

    you can enable 2 columns in the Blog Module:

    https://docs.generatepress.com/article/using-columns-in-the-blog/

    Navigation colors can be edited in Customizer > Colors > Primary Navigation

    #1398797
    demoxing

    Thank you so much, it works.
    one more question is how can I match the grid layout placement?
    I mean please check the image: https://imgur.com/nJsNZTQ

    you can see the continue reading button placement isn’t the same for the grids. the alignment is not matching, I want to make the boxes position to the same for every grid. I set the excerpt word count to 30 words. but the read more button position aren’t the same for every grids.

    #1399029
    David
    Staff
    Customer Support

    Can you disable the Masonry option. Then i can look at button alignments.

    #1399034
    demoxing

    I disabled the masonry option. please check the button position, they are not matching for all grids.

    #1399186
    David
    Staff
    Customer Support

    Add this CSS to your site:

    .generate-columns .inside-article,
    .entry-summary {
        display: flex;
        flex-direction: column;
        flex: 1;
    }
    .read-more-container {
        margin-top: auto;
    }
    #1399210
    demoxing

    David, you are a legend! problem solved 🙂 thank you so much.

    #1399564
    David
    Staff
    Customer Support

    You’re welcome

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