We're merging with GenerateBlocks! Learn more here.

[Resolved] Aligning content to the bottom

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Aligning content to the bottom

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #31615
    Greg
    Participant

    Hi guys

    Hoping someone can help, I have a section for reviews which uses WPSP to load 3 random quotes which works well – the only issue I’ve had is the quotes are often different lengths, is there an easy way for me to align the bottom paragraph of the (full post) content to the bottom of .wp-show-posts-entry-content? I would like it so that I can have the ‘Name Surname, Business Name’ paragraph (.review-name) aligned to the bottom of each box.

    Screenshot

    Thanks for any suggestions/help!
    Greg

    #31618
    elvin
    Moderator

    Hi Greg,

    you can try adding this CSS:

    .wp-show-posts-entry-content > .review-name { margin-top: auto; }

    If this doesn’t work as it is, we may have to add this as well:

    .wp-show-posts-entry-content { display: flex; flex-direction: column; }

    #31620
    Greg
    Participant

    Thanks for the quick reply Elvin, that’s worked perfectly 🙂

    #31622
    elvin
    Moderator

    Nice one. No problem. Glad to be of any help. 😀

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