Tagged: Blog, enfold, grid, square, thumbnails
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,
Devin
I tried changing the following lines:
132
“std” => “portfolio”,
229
‘image_size’ => ‘portfolio’,
to
132
“std” => “masonry”,
229
‘image_size’ => ‘masonry’,
Still seeing a 200 x 140px image with the class “attachment-portfolio” ?
Hey!
You need to regenerate the thumbnails. Use this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
Ismael
Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.avia-content-slider .slide-image { width: 150px; height: 150px; }
Cheers!
Yigit
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.