[Resolved] Column issues since recent upgrade

Home Forums Support [Resolved] Column issues since recent upgrade

Home Forums Support Column issues since recent upgrade

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1444872
    Craig

    Hello,
    Have been using some column code for 2 archive pages for some time and a recent update appears to have broken it.

    Here’s a link to a broken archive: https://www.sacsschools.org/staff

    The code I’m using to force columns is…

    add_filter( 'generate_blog_columns','generate_adjust_columns' );
    function generate_adjust_columns( $columns )
    {
        if ( is_post_type_archive (array ( 'staff', 'documents' )) ) :
            return true;
        endif;
    
        return $columns;
    }

    As you can see, the height of a few of the staff listings is taller than the rest and this causes a strange shift/break in the rows.

    Here’s an older version of the site where it’s working correctly: http://spmsacs.staging.wpengine.com/staff

    Any suggestions?

    Thanks!
    Craig

    #1444879
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Thanks for the heads up! Fixed in 1.12.0-alpha.2 which we’ll be releasing tomorrow.

    For now, try this CSS:

    .generate-columns-container:not(.masonry-container) {
        display: flex;
        flex-flow: row wrap;
        align-items: stretch;
    }

    I’ll update you once 1.12.0-alpha.2 is available – would be nice to confirm that it’s fixed.

    Thanks again!

    #1444908
    Craig

    Hey Tom…awesome…that CSS did the trick. Thanks…I’ll keep an eye out for the updates!

    #1446189
    Tom
    Lead Developer
    Lead Developer

    No problem! alpha.2 is now available which should fix the issue without the need for the extra CSS ๐Ÿ™‚

    #1446193
    Craig

    Thanks Tom! Any ETA on the next production version push? If you think in the next week, I’ll wait for the 20+ sites this affects.

    Best,
    Craig

    #1446194
    Tom
    Lead Developer
    Lead Developer

    Yea, hoping for next week ๐Ÿ™‚

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