[Support request] page hero and load more article problems

Home Forums Support [Support request] page hero and load more article problems

Home Forums Support page hero and load more article problems

Viewing 15 posts - 31 through 45 (of 52 total)
  • Author
    Posts
  • #2500581
    francesco

    I am modifying this page hero by implementing the query instead of using block by block but it creates this error. what would be the reason? the blocks are 100% so it shouldn’t put them in columns of 3.
    p.s if you have any other suggestions for the structure, happy to hear them.

    #2500693
    francesco

    link

    #2500867
    Fernando
    Customer Support

    Hi Francesco,

    The Query Loop is currently in one column from my end.

    Have you tried clearing the cache of your Browser? If this doesn’t work, try using a different browser.

    #2501195
    francesco

    hi fernando, the problem is that it appears like this in the editor. I have already cleared the cache several times but nothing changes.

    #2501205
    francesco

    I think the problem is this php I use to column articles on the home page.

    add_filter( 'option_generate_blog_settings', 'lh_custom_search_results_page_settings' );
    function lh_custom_search_results_page_settings( $options ) {
        if ( is_front_page() ) {
    /*	$options['read_more_button'] = true;
    	$options['date'] = false;
    	$options['categories'] = false;
    	$options['tags'] = false;
    	$options['comments'] = false;
            $options['infinite_scroll'] = true;
    	$options['infinite_scroll_button'] = true;
    	$options['masonry_load_more'] = 'More search results';
    	$options['post_image'] = true;
    	$options['post_image_position'] = 'post-image-above-header';
    	$options['post_image_alignment'] = 'post-image-aligned-center';*/
    	$options['column_layout'] = true;
    	$options['featured_column'] = false;
    	$options['masonry'] = false;
        }
      
        return $options;
    }
    
    add_filter( 'generate_blog_get_column_count', function( $column_width ) {
        if ( is_front_page() ) {
            return '33';
        }
        return $column_width;
    } );
    #2501306
    David
    Staff
    Customer Support

    Hi there,

    if you edit the Query Loop, and select the Post template block inside it, and in the Flex options, set them to:
    Flex Grow: 1
    Flex Shrink: 1
    Flex Basis: 100%

    It should override the theme style it is picking up.

    #2501454
    francesco

    thanks for the replies david, unfortunately the setting doesn’t improve at all, it’s like it has some extra margins or spacing. I’ll show you.

    by editor

    by site

    there is also extra spacing between the various headings to the right. I don’t understand what affects it.

    #2501750
    David
    Staff
    Customer Support

    Where can i see this on you site ?

    #2501807
    francesco

    home page

    #2501858
    David
    Staff
    Customer Support

    This is what i see when i view the homepage ( across all my different browsers )

    2023-01-19_16-22-55

    #2501866
    francesco

    I would like the query to appear exactly below, and not moved inside.

    #2501867
    David
    Staff
    Customer Support
    #2501908
    francesco

    yes but I can’t align the post titles perfectly under the green h1. as in the photo..
    see the black line in the last picture? I can’t align them.

    #2502205
    Fernando
    Customer Support

    The site in question seems to be set in maintenance mode. Because of this, we can’t see the site. Can you temporarily disable this setting or provide login credentials so we can see the Query Loop again?

    #2502394
    francesco

    hi fernando, done

Viewing 15 posts - 31 through 45 (of 52 total)
  • You must be logged in to reply to this topic.