See http://www.allevamentovalledeimedici.it in homepage scrolling down, why 3 images on footer do not show but if I refresh page I see it ?
Hey,
Please 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 );
then go to Enfold/js/shortcodes.js and copy it inside enfold-child/js/ folder, open the file 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
But why this changes?
Hey!
Sorry, i should have elaborated.
You have affect on your images so they show up when scrolled down. However since your images at the very bottom of your page, affect is not being triggered correctly. Solution would be either to apply the changes i recommend above or to add more content below your images.
Regards,
Yigit
Ok thanks!