Tagged: Blog, enfold, grid, square, thumbnails
-
AuthorPosts
-
November 20, 2013 at 5:49 am #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?
November 21, 2013 at 6:04 am #191331Hi fitzpatrick512!
The blog gets created by the file in config-templatebuilder>avia-shortcodes>blog.php if you want to edit it there.
Best regards,
DevinNovember 25, 2013 at 8:04 pm #193121I 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” ?
November 26, 2013 at 4:51 am #193262Hey!
You need to regenerate the thumbnails. Use this plugin: http://wordpress.org/plugins/regenerate-thumbnails/
Regards,
IsmaelNovember 26, 2013 at 3:40 pm #193458This reply has been marked as private.November 27, 2013 at 7:21 pm #194015Hi!
Please add following code to Quick CSS in Enfold theme options under Styling tab
.avia-content-slider .slide-image { width: 150px; height: 150px; }Cheers!
YigitNovember 27, 2013 at 8:23 pm #194046No, 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
November 30, 2013 at 1:15 am #194857Any 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.
-
AuthorPosts
- The topic ‘square images in blog grid’ is closed to new replies.
