Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #406554

    the background image of the parallax color block doesn;t load properly. I need to scroll down then suddenly it loads.

    The link is in the private section.

    Thanks for help.

    #406793

    Hey jenki!

    it’s loading totally fine for me on Chrome:

    Which browser are you using? please clear browser cache and refresh your page a few times.

    Cheers!
    Andy

    #406899

    Hi, thanks for the quick reply.

    If you look at the screenshot you added its not loaded at the top. Try scrolling dow a few pixels with your mouse ad you will see the parallax load properly (loo at the top of the parallax, you see its grey?)

    I don’t think its a cache issue because I even tested with Chrome Incognito not to use any cache whatsoever.

    I’ve attached the screenshots to show you before and after. I also discovered other pages that do the same, I will put links at the bottom where it is more evident.

    I use chrome 41.0.2272.76 on Max OS X 10.10.3

    I discovered these links as well with same problem on parallax:

    http://2015.bellussi.com/collezioni/linea-lido-1932/

    http://2015.bellussi.com/collezioni/linea-grappe/

    Before scroll:

    After scroll:

    #407495

    Hey!

    Thank you for the screenshots.

    Please try to add this to the functions.php file:

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){	
    	$(window).on("resize", function (event) {
    		if (event.originalEvent === undefined) {
    			var alien = 'alien';
    			console.log(alien);
    		} else {
    			var human = 'human';
    			console.log(human);
    		}
    	}).resize();
    })(jQuery);
    </script>
    <?php
    }

    We’ll check the site after.

    Regards,
    Ismael

    #407781

    Works ! Thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Parallax background not loading properly’ is closed to new replies.