Hi,
I would like to customize my blog page, however as soon as I change the setting in the theme options to “use advanced layout” my category pages no longer shows the posts under that category in grid view, rather it shows full text and no thumbnail.
How can I prevent this?
Hey SilviaNT,
Thank you for using Enfold.
You can use this filter to change the default style of the archive or category pages.
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,
Ismael
Hi Ismael,
I added the code via Quick CSS, however the issue is still there.
I changed the blog to “use advanced editor” and my category pages did the same thing again, showing the posts with full text.
Hi,
That code should have been added to the functions.php file, not quick css.
Best regards,
Jordan Shannon