Archived topic
Postformat - problems
7 replies · Started by Raul on April 28, 2022
Good morning,
I have a question. Normally I create my articles and news as "Standard" postformat. But sometimes I also use the postformat "video". If I use it I get a bigger font and the posts are no longer separated.
Here is an example: 
I hope you have an idea how to change the format or handle it.
Thanks,
Raul
To have a better understanding of the issue, may you kindly provide the link to the site in question?
You may use the private information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Hope to hear from you soon. :)
Hi,
example in private message ;)
With regards to the font-size of your standard posts, it is altered through a code in Appearance > Customize > Additional CSS. Specifically, this one:
.generate-columns-container article .inside-article .entry-summary {
margin-top: 0.5em;
font-size: 0.8em;
}
With that said, you may either remove this code, or alter it to include the entry-content as such:
.generate-columns-container article .inside-article .entry-summary, .generate-columns-container article .inside-article .entry-content {
margin-top: 0.5em;
font-size: 0.8em;
}
With regards to the spacing issue, I cant seem to replicate or locate where the issue exists.
This is what it looks like on my end: https://share.getcloudapp.com/Z4u74KKL
Can you try clearing your cache and see how it goes?
Kindly let us know. :)
That works fine. Thank you. Do you also have any idea how to change the wordlenght for the postformat "video". It seems that the wordlenght is only working for Standard-Posts.
Thanks,
Raul
The Paragraph Blocks in your Video Posts are set to text-align: justify. Did you set this manually? You’ll just need to remove this style to make them similar: https://share.getcloudapp.com/kpuJx6d6
Hope this clarifies. If you're referring to something else, kindly let us know. :)
I removed it, but still more than 25 words ;)
Hi there,
WordPress doesn't parse other post formats like video for the Post Excerpt.
But you can tell it to by adding this PHP Snippet:
add_filter( 'generate_show_excerpt', function( $show ) {
if ( 'video' === get_post_format() ) {
return true;
}
return $show;
} );
Adding PHP: https://docs.generatepress.com/article/adding-php/