Tagged: 

Viewing 21 posts - 31 through 51 (of 51 total)
  • Author
    Posts
  • #572081

    Hi!

    Please see private content field below

    Best regards,
    Yigit

    #572094

    Hi,

    Loo at the private content.

    #572097

    Hi!

    We will keep the thread open and wait to hear from you. It will be on hold until you reply. To avoid having it accidentally closed, please reply to this thread when you would like to continue :)

    Regards,
    Yigit

    #573025

    Hi,

    Please read the private content.

    Ty

    • This reply was modified 8 years, 10 months ago by tom9275.
    #573037

    Hi!

    Please see below

    Cheers!
    Yigit

    #573063

    Hi
    —>>>>

    :)

    • This reply was modified 8 years, 10 months ago by tom9275.
    #573075

    Hey!

    :)

    Regards,
    Yigit

    #573089

    FTP details (and comments)

    • This reply was modified 8 years, 10 months ago by tom9275.
    #573114

    Hi!

    Cheers!
    Yigit

    #573125

    Thank you Yigit.

    Unfortunately, despite we cleared the cache, animated numbers don’t start. We tried on a Windows PC (7), Macbook pro 2015 (El Capitan) and a surface pro 4. :(

    #573138

    Hi!

    Best regards,
    Yigit

    #573166

    if($.fn.avia_waypoints)
    {
    if(typeof container == ‘undefined’){ container = ‘body’;};

    $(‘.avia_animate_when_visible’, container).avia_waypoints();
    $(‘.avia_animate_when_almost_visible’, container).avia_waypoints({ offset: ‘50%’});

    if(container == ‘body’) container = ‘.avia_desktop body’;
    $(‘.av-animated-generic’, container).avia_waypoints({ offset: ‘95%’});
    }

    But as I already said, it really depends of the window size. Animated numbers seem not working in particular conditions (laptop or downsized window).

    I just realized height has no effect. Only window width stops AN working.

    #573497

    Hey!

    We added the following code in the functions.php file. Let us know if it makes any difference:

    add_action('wp_footer', 'ava_auto_resize');
    function ava_auto_resize(){
    ?>
    <script>
    (function($){
    	var int = window.setInterval(function(event){
    		$(window).trigger('resize');
    	}, 2000);
    
    	$(window).scroll(function () {
    		setTimeout(function() {
    			clearInterval(int);
    		}, 10000);
    	});
    })(jQuery);
    </script>
    <?php
    }

    Don’t forget to remove browser cache or hard refresh before testing the page.

    Cheers!
    Ismael

    #573574

    Sorry but no changes.

    It only works when I resize the browser window :(

    #573850

    Hi!

    I set offset value to 100% according to Ismael’s suggestion and tried resizing browser manually, changing screen resolution and refreshing few times. I still cannot reproduce the issue. I de-activated WP Rocket plugin temporarily. Please do not turn it on until we solve the issue.

    Can you please review your website once again? Please view your page in an incognito mode (CMD+Shift+N on Chrome on Mac) and refresh your page a few times.

    Regards,
    Yigit

    #573855

    Hi Yigit,

    It’s working both on Chrome and Safari. It’s a little bit slow and I have to scroll down many times but it’s much better.

    Can I try to activate WP Rocket or do you want to test something else ?

    • This reply was modified 8 years, 10 months ago by tom9275.
    #573860

    Hey!

    Great!

    Yes, you can turn it on now. I have disable JS caching as well so please make sure to enable that as well

    Cheers!
    Yigit

    #573864

    As you said : Great !

    Can you tell me exactly what you did so I can save the workaround on our wiki ?

    Thanks a lot for your support.

    #573871

    Hi!

    I edited Enfold/js/shortcodes.js file and changed following line

    $('.avia_animate_when_almost_visible', container).avia_waypoints({ offset: '80%'});

    to following one

    $('.avia_animate_when_almost_visible', container).avia_waypoints({ offset: '100%'});

    Best regards,
    Yigit

    #573877

    you removed the additional code in functions.php ?

    #573888

    Hey!

    No i have not. You can try removing it temporarily and check if it still works fine. If not, you can place it back in functions.php :)

    Cheers!
    Yigit

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