The featured image of my most recent blog post, while the same dimensions as the other featured images in past blog posts, is cropped. I set up the posts the same way and I can’t figure out why this featured image is cropped while the others weren’t. What am I missing? Thank you!
Hey es.design.ma,
Thank you for the inquiry.
The first post is currently showing a thumbnail instead of the original image. Did you install any image or media library plugins? Please provide the login details in the private field so we can check further.
Best regards,
Ismael
I didn’t install any new plugins. I can’t think of what was done differently with this newest post compared to all the others. I’ll send login credentials below. Thanks so much for your help!
Hi,
Thank you for the update.
We’re not yet sure why this is happening, but we managed to work around the issue by enabling the Advanced Layout Builder for the blog and manually adding the Blog Posts element with a specific preview image selected. Please make sure to purge the cache before checking.
You may also need to add this filter to the functions.php file to adjust the blog layout of category pages.
add_filter('avf_blog_style','avf_blog_style_mod', 10, 2);
function avf_blog_style_mod($layout, $context){
if($context == 'archive') $layout = 'blog-grid';
return $layout;
}
Best regards,
Ismael
Thank you! Appreciate your help. You can close this.
Erin
