Hi. How to display featured images inside the posts? With that, I am using this Grig Layout.
Featured images are available in all positions, but Grig Layout mode, they do not appear inside.
On Enfold > Blog Style > Please choose onother option except for “Grid Layout”. Create a page, insert the Blog Post element then choose Grid Layout. Set this page as your default Blog Page.
Hi. Yes, but then the posts in different rubriks will not be entered as Grid Layout. I need that to any archives are Grid Layout.
Undo the steps we did. Please follow this one. Edit includes > loop-index.php, find this code:
//on single page replace the link with a fullscreen image
$link = avia_image_by_id(get_post_thumbnail_id(), 'large', 'url');
Below, add this code:
if(strpos($blog_style, 'grid') !== false)
echo '<a href="'.$link.'"><img src="'.$link.'" title="" alt="" class="blog-grid-preview"></a>';
Edit custom.css or Quick CSS, add this code:
The topic ‘How to display featured images inside the posts?’ is closed to new replies.