Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1096710

    Hi,

    I have set up a masonry style blog, and after applying an category exclusion code on the functions.php file I find that one of my posts is in the wrong place. I have enabled the meta so you can see the publish date of the post and where the issue is.

    I give you the log in details and url in the next reply.

    Thanks

    #1096713
    This reply has been marked as private.
    #1096762
    Rue Nel
    Moderator

    Hello There,

    Thank you for the clarifications! Actually the post items were generated correctly. On the contrary, the page is using masonry grid layout and with masonry grid. Looking at your layout, all of the items has a different height. This will trigger the masonry grid script and will calculate every inch of space so that it could arrange the items in a uniform manner. Now this is why the items is being displayed in different order. If you want to have the same order as the way it is generated within the code in the page, you must make sure that each of the grid items has the same height. To do that, we will have to adjust and set the minimum height. Please add the following css code in the customizer, Appearance > Customize > Custom > CSS

    .x-iso-container-posts.cols-3 .entry-wrap {
        min-height: 305px;
    }

    Please let us know if this works out for you.

    #1096793
    This reply has been marked as private.
    #1096857
    Paul R
    Moderator

    You’re welcome! 🙂

  • <script> jQuery(function($){ $("#no-reply-1096710 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>