Hi Enfold team,
I’am using a masonry Gallery as a pictured navigation, at the bottom of each portfolio page. The masonry of the portfolios content’s working properly, but if you scroll down, the masonry at the bottom, sometimes would be shown and somteimes not (mostly not).
See Link and login data ;-)
warm regards
Andreas
Hey Andreas,
Please read Ismael’s reply here for the explanation of the issue you are experiencing: https://kriesi.at/support/topic/massonry-gallery-not-loading-properly/#post-1301261
If you’d like to modify the shortcodes.js file on your child theme, please copy it to your child theme into the /js/folder, apply the changes mentioned in Ismael’s post, and add the following code to the bottom of the functions.php file of your child theme
function ava_change_wp_enqueue_scripts_mod() {
$vn = avia_get_theme_version();
$options = avia_get_option();
$min_js = avia_minify_extension( 'js' );
wp_deregister_script( 'avia-shortcodes-js' );
wp_enqueue_script( 'avia-child-shortcodes-js', get_stylesheet_directory_uri() . "/js/shortcodes{$min_js}.js", array('jquery'));
}
add_action( 'wp_enqueue_scripts', 'ava_change_wp_enqueue_scripts_mod', 100 );
Best regards,
Yigit