Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1256650

    Hi support,
    I created a photo gallery using the gallery element with settings: Big image with 6 columns of thumbs below. It looks fine but on some portfolio pages the first thumb of the second row is empty. This occurs only on Chrome and works fine on Firefox. I tried a lot with lazy loading on/off, resizing al thumbs etc. etc. but no luck. The client is really upset about it so it would be great if you could have a look what can be the problem here.
    Url’s:

    or later today when the website is live:
    https://www.noutclassiccars.nl/car/mclaren-mp4-12c-spider-2012/
    https://www.noutclassiccars.nl/car/aston-martin-vanquish-v12-2003/

    Thank you for your help.
    Ariane

    #1257838

    Hey ariane1001,

    Thank you for the inquiry.

    The first item in the second row gets filled when we resize the browser. Unfortunately, we are not yet sure why it is empty in the first place, but the following script should help. Please add it in the functions.php file.

    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
    }
    

    This should emulate a resize event and hopefully force the item to reposition while the page is loading.

    Best regards,
    Ismael

    #1258198

    Hi Ismael,
    Thanks for the script, I placed it in functions.php but no difference…
    Resizing the page just makes the white spots bigger but when I hit f12 / Inspection white spots disappear.
    Maybe this helps?
    Thanks again,
    Ariane

    #1258471

    Hi Ismael,
    I just like to show you what happens when I resize the browser, white spots even get worse
    https://photos.app.goo.gl/bPtS25xQsQPP3o5V7
    https://photos.app.goo.gl/WqgA1oXWgKqufpM56

    Thanks for your help!
    Ariane

    #1259147

    Hi,

    Thank you for the info.

    Did you purge the cache or remove the browser history before checking the page? Please post the login details in the private field so that we could check the issue further.

    Best regards,
    Ismael

    #1260065

    Hi Ismael,

    Thanks for your reply, I did purge the cache and removed the browser history, but still there.

    In private content a Temporary Login.

    Thanks again,
    Best regards,
    Ariane

    #1260613

    Hi,

    Sorry for the late response. To fix the issue on Chrome, we used this css code in the Quick CSS field to set the display of the parent container to flex.

    
    .avia-gallery-thumb {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    

    Please do a hard refresh before checking the page, or use incognito mode.

    Best regards,
    Ismael

    #1260653

    Hi Ismael,
    This works, thanks!
    Will the problem have a fix in a future update of Enfold?
    Regards,
    Ariane

    #1260865

    Hi,

    Yes the devs try their best to address to most widely reported and known issues in future updates.

    Best regards,
    Jordan Shannon

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