Relevant settings:
Enfold Child > Blog Layout > Blog Styling > Modern Business
Enfold Child > Blog Layout > Blog Layout > Use advanced layout editor…
I’m not actually sure those are relevant. On my Blog Page, I built a horizontal list of Categories at the top of each Category Page (by putting it in the Posts > Categories > Editor > for each category). When you click on a category to view posts in that category, you get a vertical listing (single column) that does not show the featured image of each post. I’d prefer for each Category Page to use the same grid layout that the Blog Page uses, but I do not see that functionality.
At a minimum, am I able to dress the Category Pages just a bit by at least having their featured images next to each post blurb?
If possible, is it also possible to get the Category Pages into a grid format like my blog page?
Relevant pages:
The Anxiety Category page: https://gatehealing.com/category/anxiety/
The Blog Page: https://gatehealing.com/blog/
Thanks,
Jon
Hey gatehealing,
To use the grid layout for the category pages try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:
add_filter('avf_blog_style','avia_change_category_blog_layout', 10, 2);
function avia_change_category_blog_layout($layout, $context){
if($context == 'archive') $layout = 'blog-grid';
return $layout;
}
Best regards,
Mike
Perfect! Thanks!
Can close this thread.
J
Hi,
Great, I’m glad that Mike could help you out. I’ll close this thread for now then, please open a new thread if you should have any further questions or problems.
Best regards,
Rikard