Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #733762

    Hi,

    When I use some animated elements it seems to be slow loading or not at all. Sometimes you have to scroll down and up again to see the animation, sometimes it starts loading once it is already on top of the page, not when it comes visible below when scrolling.

    On my ‘Gallery’ Page you can not scroll and then the Masonry Gallery wont load properly. (I think it is because of the scrolling, not sure..)

    How can I fix this?

    #733913

    Hey Chantalkrijn,

    Please send us a temporary admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #734425

    Hi Rikard,

    Thank you for replying, it seems my e-mail notifications were not on ;)

    Thanks!

    • This reply was modified 7 years, 10 months ago by Chantalkrijn.
    #734427

    Hi!

    Please go to Enfold/js/shortcodes.js and find

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

    and change it to

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

    Cheers!
    Yigit

    #734431

    Hi Yigit,

    I am sorry, I am afraid I dont understand where I can find the Enfold/js/shortcodes.js. Is this in the Editor?
    I am using the Child theme as well, does this change anything?

    #734706

    Hi,

    You should go to wp-content/themes/enfold/js/shortcodes.js via FTP and copy the file to your inside enfold-child/js/ folder and then add following code to Functions.php file of your child theme

    function wp_change_shortcodesjs() {
       wp_dequeue_script( 'avia-shortcodes' );
       wp_enqueue_script( 'avia-shortcodes-child', get_stylesheet_directory_uri().'/js/shortcodes.js', array('jquery'), 2, true );
    }
    add_action( 'wp_print_scripts', 'wp_change_shortcodesjs', 100 );

    Best regards,
    Yigit

    #734727

    Hi Yigit,

    Thank you for your help. The editing of the file has worked, but I seem to have no js folder inside my enfold-child folder of my FTP.

    I have only DS_store, functions.php, screenshot.png and style.css.

    Kind regards,
    Chantal

    #734754

    Hey!

    You should create JS folder inside your child theme :)
    Glad it worked! Let us know if you have any other questions or issues!

    Regards,
    Yigit

    #734781

    Hi Yigit,

    I assumed that but I did not dare because I was afraid to ruin something, haha.

    I did copy the folder and copied your text in the Child functions.php.
    Unfortunately I see no difference :(

    #734786

    Hi!

    Can you please post FTP logins here privately as well?

    Best regards,
    Yigit

    #734788

    Of course

    #734800

    Hi!

    It seems like you have applied the changes correctly and shortcodes.js file from your child theme is being loaded. I checked example pages in your initial post and i cannot see the issue any more. Please flush browser cache and refresh your page a few times – http://wiki.scratch.mit.edu/wiki/Hard_Refresh

    If you still experience the issues. Please elaborate, so we can make sure that we are on the same page :)

    Regards,
    Yigit

    #734807

    Cache cleared.. Hard refreshed.. This i what my page looks like on my screen

    #734808

    Also the animation (like the progress bar and Masonry) are coming in when I almost scrolled past them already

    #734816

    Hi!

    Can you please try de-activating all active plugins and check if that helps?
    WP login credentials did not work for me unfortunately.

    Regards,
    Yigit

    #734837

    Hi Yigit,

    I removed the login, I will provide new below.

    After deactivating and activating all plugins it seems to be WP Rocket! A plugin I hoped it was not haha. Any suggestions?

    Thanks again!

    Chantal

    #734848

    Hey!

    Please go to WP Rocket settings and try adjusting them. Please try disabling to minify CSS and JS files and check if that helps. You can also contact their support team. They should have better insights on what could be causing the issue

    Best regards,
    Yigit

    #734853

    Found the culprit. It was the Lazyload of the Images.

    Search and you will find.. Thank you so much for your time!

    Best Regards,

    Chantal

    #734857

    Hi!

    You are welcome! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 19 posts - 1 through 19 (of 19 total)
  • The topic ‘Loading time of animated elements’ is closed to new replies.