Home › Forums › Basel support forum › How to create a class to disable "basel-lazy-load" › Reply To: How to create a class to disable "basel-lazy-load"
July 16, 2020 at 12:38 pm
#211662
Artem Temos
Keymaster
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to do this
add_action(
'woodmart_after_body_open',
function() {
woodmart_lazy_loading_deinit( true );
}
);
add_action(
'woodmart_after_header',
function() {
woodmart_lazy_loading_init();
}
);
Regards