-
AuthorPosts
-
July 8, 2020 at 11:34 am #1228824
Hi
I’m a big fan of the enfold theme.
Thnx for the good work!I need a grid with a sort option (and a same grid for posts as for portfolio-items), so a masonry grid looks perfect
styling flexible Masonry.
So far so good.
Only I need a read more button under the excerpts.I found a solution on the forum https://kriesi.at/support/topic/read-more-in-masonry-gallery-portoflio/
this works, but on page load all the post are vertically stick to each other.
Alter using the sort option it is perfect styled.Any ideas how I can solve this?
and another question: will the ‘read more’ be translatable in other languages using WPML?
Tnx!
Sonja- This topic was modified 4 years, 5 months ago by Sonja.
July 8, 2020 at 7:14 pm #1228961Hey Sonja,
Please provide a link to the site/page in question so we can look into this issue further.
Best regards,
Jordan ShannonJuly 8, 2020 at 8:18 pm #1228987This reply has been marked as private.July 13, 2020 at 11:17 am #1229897Any ideas?
thnx!
SonjaJuly 14, 2020 at 7:42 am #1230190Hi,
this works, but on page load all the post are vertically stick to each other.
Sorry for the delay. We can’t reproduce the issue on our end. Is it still happening on yours? Looks like you have already added the read more links to the masonry items.
To force the masonry item to reposition while the page is still loading, please try this snippet.
add_action('wp_footer', 'ava_auto_resize'); function ava_auto_resize(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('debouncedresize resize'); }, 1000); $(window).load(function () { setTimeout(function() { clearInterval(int); }, 5000); }); })(jQuery); </script> <?php }
Best regards,
IsmaelJuly 14, 2020 at 8:32 am #1230211Tnx Ismael,
It’s not working…
I think for now, it’s easier to look for an extern grid plugin to use :-/Maybe you can add this ‘read more’ function to the masonry grid in one of the next versions?
Thnx anyway!
SonjaJuly 14, 2020 at 7:44 pm #1230405Hi,
Yes this is something that can be considered for future updates.
Best regards,
Jordan Shannon -
AuthorPosts
- You must be logged in to reply to this topic.