Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #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, 4 months ago by Sonja.
    #1228961

    Hey Sonja,

    Please provide a link to the site/page in question so we can look into this issue further.

    Best regards,
    Jordan Shannon

    #1228987
    This reply has been marked as private.
    #1229897

    Any ideas?

    thnx!
    Sonja

    #1230190

    Hi,

    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,
    Ismael

    #1230211

    Tnx 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!
    Sonja

    #1230405

    Hi,

    Yes this is something that can be considered for future updates.

    Best regards,
    Jordan Shannon

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.