[Resolved] Align the Read More button

Home Forums Support [Resolved] Align the Read More button

Home Forums Support Align the Read More button

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1137067
    Patrick

    Hi, I can’t find a way to have the buttons aligned. Screenshot
    The problem is sometimes the words are too long and generate only 3 excerpt rows instead of 2. Is there a way to solve this?

    Thanks in advance

    #1137219
    Leo
    Staff
    Customer Support

    Hi there,

    Try this CSS:

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

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    Let me know if this helps ๐Ÿ™‚

    #1137224
    Patrick

    thanks works perfectly

    #1137241
    Leo
    Staff
    Customer Support

    No problem ๐Ÿ™‚

    #1878069
    Alan

    Hi.

    I seem to have a similar problem when I put a button inside a grid column. I want to align the button to the bottom because the height of the text varies depending on page width. I worked out that I can set the minimum height of the grid column so I set it to 380px. How can I align my buttons to the bottom in this generate blocks info box? Is there some css that I can add to the customizer so I can apply an additional css class to the button?

    Uneven Buttons

    Thanks,

    Alan

    #1878265
    David
    Staff
    Customer Support
    #1878777
    Alan

    That’s just what I needed David. That works perfectly. Thank you

    #1879121
    David
    Staff
    Customer Support

    Glad to be of help

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