Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1122610

    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?

    • This topic was modified 5 years, 3 months ago by SilviaNT.
    #1122701

    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

    #1123704

    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.

    #1123758

    Hi,

    That code should have been added to the functions.php file, not quick css.

    Best regards,
    Jordan Shannon

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.