-
AuthorPosts
-
October 17, 2018 at 10:29 am #1022667
Hey,
I use “Masonry” to show by default a limited number of posts (4) which are sorted by their slug (descendant order) and added the “Load more” option. But additional posts are not sorted according to their slug as the 4 first are. Do i have to modify code somewhere to solve this?
Thank you,
RichardOctober 18, 2018 at 12:49 pm #1023322Hey rivandemo,
Thank you for using Enfold.
What is the current size settings? The items may not be sorted based on their slug when the images have different sizes because of how the isotope script calculates the item position. You may need to use a different size settings.
Best regards,
IsmaelOctober 18, 2018 at 6:30 pm #1023554Hey Ismael,
I’m using the following parameters for the Masonry:
. 4 posts / page
. 4 columns
. Flexible Masonry (first radio-Box)
When i use another size setting the posts are sorted correctly but the posts’ image are cropped (all posts have the same smaller size). I don’t know where to put the “Portrait” or “Landscape” tags (could you tell me that?).
It means that the posts’ images should have the same size to be correctly sorted?Thank you,
RichardOctober 19, 2018 at 3:42 pm #1023962Hi Richard,
Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?
Best regards,
VictoriaOctober 19, 2018 at 10:55 pm #1024234Hello Victoria,
Yes. The Masonry is on the home page (“Accueil”) showing posts in category “CC-Expos”, but note that i have now changed the size to “Perfect grid”
Thanks you,
RichardOctober 22, 2018 at 4:03 am #1024658Hi,
It means that the posts’ images should have the same size to be correctly sorted?
Yes, that’s the case sometimes. The isotope script rearranges the items based on the images, which may not correspond to the actual posts order. One solution is to set a different size settings as you’ve already tried.
I don’t know where to put the “Portrait” or “Landscape” tags (could you tell me that?).
Add the “landscape” or “portrait” as post tags in the post editor.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.