Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • #190825

    I would like to use square images instead of the crops the blog is creating.

    I’d like to continue using the current crops in the portfolio pages, but got the blog grid thumbnails, I’d like to use squares instead.

    I see in the functions.php file that there are horizontal aspect ratio images being created, and I assume the grid blog is using these. I’d like to have it just use the WordPress default “medium” or some other square format.

    I can’t seem to find where in the loop the image size is being called, can you point me in the right direction?


    Hi fitzpatrick512!

    The blog gets created by the file in config-templatebuilder>avia-shortcodes>blog.php if you want to edit it there.

    Best regards,


    I tried changing the following lines:

    “std” => “portfolio”,

    ‘image_size’ => ‘portfolio’,


    “std” => “masonry”,

    ‘image_size’ => ‘masonry’,

    Still seeing a 200 x 140px image with the class “attachment-portfolio” ?



    You need to regenerate the thumbnails. Use this plugin:


    This reply has been marked as private.


    Please add following code to Quick CSS in Enfold theme options under Styling tab

    .avia-content-slider .slide-image { width: 150px; height: 150px; }



    No, that’s not going to work either. The images being shown are still the “portfolio size” which is not a perfect square. Forcing the dimensions of the div containing the image to a square is not a solution.

    I just want the blog do display the “medium” size images, which are squares. I can also use the “masonry” ones, those are squares too. But I can’t figure out where to change it in blog.php


    Any ideas? I want the grid blog to use the square images that are being created / cropped by the them, instead of the “portfolio” aspect ratio images.

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

The topic ‘square images in blog grid’ is closed to new replies.