Site logo

[Resolved] How do I align center and reduce margins of these ‘read more’ buttons?

Home Forums Support [Resolved] How do I align center and reduce margins of these ‘read more’ buttons?

Home Forums Support How do I align center and reduce margins of these ‘read more’ buttons?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1531547
    Andy

    Hi there,

    Currently, my ‘read more’ buttons are left-aligned and have a lot of space above and below.

    Question: How do I center align these ‘read more’ buttons? Also, how do I reduce the top and bottom margins of the ‘read more’ buttons?

    Desired result:
    https://imgur.com/a/WsBVmo6

    Thank you

    #1531572
    Leo
    Staff
    Customer Support

    Hi there,

    Are you referring to the mobile view only or both desktop and mobile?

    #1531608
    Andy

    Hi Leo,

    Good question — both desktop and mobile thank you!

    #1531611
    Leo
    Staff
    Customer Support

    Edit this:

    .read-more-container {
        margin-top: auto;
    }

    To this:

    .read-more-container {
        margin-top: auto;
        text-align: center;
    }

    You also have this random CSS that’s not doing anything so please remove that:
    https://www.screencast.com/t/Hbp25e8vV

    #1531624
    Andy

    Thank you!

    #1532492
    Leo
    Staff
    Customer Support

    No problem 🙂

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