Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #860614

    How can I change the featured image size of a post on the archive pages for categories?
    I have a small 200×200 thumbnail I use and it’s being stretched on the archive pages to fill container space. I want it to list the same style and size as it does on the pages in my site.

    How it looks now
    How it looks now

    Closer to how I want it to look
    Closer to how I want it to look

    #860973

    Hey tobuff85,

    Here is what I am seeing
    https://cl.ly/3O3E2P013O0X

    Looks like you got it figured out.
    Please let us know if you have any more questions.

    Best regards,
    Victoria

    #861426

    You must have been looking at the wrong page. That is displayed properly yes but that is a regular page that I use the page builder and post widget to make changes. If you do a search or select my archive pages by category you will see what I’m referring to. Basically any page that is automatically generated to list the posts. I have a sample link to a page I want changed in the private content.

    #862287

    Hi,

    Thank you for the update.

    Please set the Blog Layout > Blog Layout settings to “Single author, small preview” style. Or set it to the 5th option ( Use the advance layout builder.. ) then edit the actual blog page, switch to the advance layout builder then insert the Blog Posts element. In the functions.php file, add the following filter to change the layout of the archive 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 = 'single-small';
    return $layout;
    }
    

    Best regards,
    Ismael

    #862587

    Yes perfect. I couldn’t locate these settings. Thank you very much.

    #862598

    Hi,

    Great! I’m glad you were able to get this corrected. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Change the default featured image size of a post on archive pages’ is closed to new replies.