Site logo

Archived topic

How do I align center and reduce margins of these 'read more' buttons?

5 replies · Started by Andy on November 14, 2020

Viewing posts 1–6 of 6

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

Hi there,

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

Hi Leo,

Good question -- both desktop and mobile thank you!

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

Thank you!

No problem :)

This archived topic is closed to new replies.