Tagged: image sizes, masonry
-
AuthorPosts
-
May 27, 2021 at 3:54 pm #1302681
Hi there.
At first: I love Enfold and will NEVER change to something else!
I am developing a new site: The new site is here: https://stegemueller.dk/
1) I have changed from usual blog grid to Masonry. I need number of comments and categories shown below the title of the post in the Masonry grid in the new site. My developer can code in the core files, but he found this post: https://kriesi.at/support/topic/show-number-of-comments-in-masonry/ and says it does not seem possible any more. Is that correct? Is there a work around to fix this, so I can display number of comments and categories in the new grids?
2) I used to to have my images this size: 598 * 336 which is perfect 16:9 format as the relation is 1,777777777777778.
Now in the Masonry the images looks a bit strange. My developer says, that the images in the grids are 443 * 354. That is a ratio: 1,251412429378531. Is it possible to change the images in the new grid to to 443 * 254 (= 443 / 1,777777777777778) so I can keep the 16:9 ratio which must keep the old relation and make the images look correct?
Kindest regards,
Hanne B. Stegemüller,
Denmark- This topic was modified 3 years, 6 months ago by Stegemueller. Reason: Updating
May 29, 2021 at 6:17 am #1302931Good morning
Is there really nobody who can help?
Kind regards,
HanneMay 31, 2021 at 10:40 am #1303142Hi,
Sorry for the delay.
1.) This should still be possible but the changes should be done in the themes\enfold\config-templatebuilder\avia-shortcodes\av-helper-masonry.php file. This is the new file for the masonry shortcode or element. The code can be found around line 737.
$this->loop[ $key ]['url'] = get_permalink( $id );
The developer should be able to add the previous modification after that.
2.) Looks like the original image is displayed in the masonry item instead of the masonry thumbnail. We also noticed the ?lossy=1&strip=1&webp=1 parameters in the image URL. Did you install an image optimization plugin? What happens when you deactivate the plugin temporarily?
Best regards,
IsmaelJune 1, 2021 at 12:50 pm #1303406Hi Ismael
Thank you you much for your kind reply!
I have asked FixRunner to make the changes for me. They are expensive, but seem to be doing a great job. And coding is over my level…
Best regards,
HanneJune 3, 2021 at 4:45 am #1303684Hi Hanne,
Thanks for the update. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJune 3, 2021 at 5:41 am #1303695Hi Rikard,
You can close it.
Best regards,
HanneJune 3, 2021 at 5:28 pm #1303852Hi,
If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon -
AuthorPosts
- The topic ‘1) Fields in Masonry and 2) image sizes’ is closed to new replies.