Archived topic
Weird spacing/sizing issue with WP show posts
3 replies · Started by James on July 6, 2021
I am testing the WP Show Posts plugin and getting some strange behavior with the spacing of the third column in the first row. The first 2 columns have the correct width of 33% but the third column is much wider. At 1024px screen width, the third column overflows into the sidebar and some of the text is hidden. The second row has correct width for all 3 columns. Please take a look at the test page that I linked. Thanks.
Also, I want to display the date last updated instead of the published date in the post list. There is an option to sort by date modified, but no option to actually show the date modified in the list.
Hi there,
Can you open a support topic in WP Show Posts' support system?
https://wordpress.org/support/plugin/wp-show-posts/
Thanks!
I thought the problem might have had something to do with GeneratePress settings or the CSS I was using. I found out the problem was happening because long words (or words connected with   non-breaking space) will increase the size of a flex box beyond the specified width.
I was able to solve the problem by adding this css.
.wp-show-posts-columns .wp-show-posts-single:not(.wp-show-posts-masonry-block) {
word-break: break-word;
}
I will open a support topic in the plugin page for the other question about showing the updated date.
Thanks!