Site logo

Archived topic

Remove entry-summary and three periods?

3 replies · Started by Andy on November 14, 2020

Viewing posts 1–4 of 4

Hi there,

1. I'd like to keep the 'read more' button. But, I'd like to remove the entry summary and 'three periods.'Overall, I'd love to just see the 'read more' button under each post title. (please note: post excerpt is already set to 0 characters)

2. Is it possible to have the 'read more' button line up with the other posts' 'read more' buttons as well? Or is that difficult? I noticed, that if the titles are larger in length, the buttons are pushed down. Not a big deal, just curious.

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

Hi there,

Try this CSS for both requests:

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

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

Let me know if this helps :)

PERFECT!!!! Thanks Leo!!!

No problem :)

This archived topic is closed to new replies.