The lightbox for images is square. Can it be modified to match image aspect ratios?
Hey!
Try adding this at the very end of your theme / child theme functions.php file:
function change_lightbox_size() {
return "full";
}
add_filter('avf_avia_builder_helper_lightbox_size', 'change_lightbox_size', 10);
Cheers!
Josue
Awesome! Thanks a ton!
You are welcome, always glad to help :)
Regards,
Josue