Site logo

[Support request] Masonry grid overlapping

Home Forums Support [Support request] Masonry grid overlapping

Home Forums Support Masonry grid overlapping

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1289745
    jazze

    If i use masonry grid and infinite scroll with or without load more button. Posts overlapping, when loading more posts.

    #1289753
    jazze

    If you use mobile phone or tablet, when all posts are in one column.

    #1289849
    David
    Staff
    Customer Support

    Hi there,

    can you disable Autoptimize so i can take a closer look

    #1289875
    jazze

    Autoptimize disabled now.

    #1289908
    David
    Staff
    Customer Support

    If you clear your devices browser cache you will see it is working ok.
    Which means that one of the options in Autoptimize is probably creating an issue.

    Try the autoptimize settings we provided here:

    https://generatepress.com/fastest-wordpress-theme/

    #1289923
    jazze

    The phone’s Chrome browser works but the Edge doesn’t.

    #1290416
    David
    Staff
    Customer Support

    Can’t see why Edge would behave any differently – did it work without Autoptimize enabled and its cache cleared?

    If not – try adding this function:

    add_filter( 'option_generate_blog_settings', 'db_disable_masonry_mobile' );
    function db_disable_masonry_mobile( $options ) {
        if ( wp_is_mobile() ) {
    	$options['masonry'] = false;
        }
      
        return $options;
    }
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.