Hi
I’m trying to get the thumbnail above the post title. I’m using Elegant as blog style. On the homepage it’s all good, but on individual post pages it’s not. See info below
Yours Faithfully,
Abos
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
add_filter('avf_loop_index_blog_meta', function() {
if(is_single()){
global $post;
$output = get_the_post_thumbnail($post->ID, 'large');
return $output;
}
});
Cheers!
Josue
Thanks for your answer. This almost did the trick. It’s all good but when viewed on mobile it’s gone.. ?
Hey!
Try adding this code to the Quick CSS:
.responsive .single .template-blog .blog-meta {
display: block;
float: none;
}
Cheers!
Josue
That did the trick! Thanks Josue!
You are welcome, glad to help :)
Regards,
Josue