1. Add this class to the gallery module: cu-lightbox-off

2. Add this code in Divi / Theme Options / Custom CSS field:

.cu-lightbox-off .et_pb_gallery_item a {
    pointer-events: none;
}
.cu-lightbox-off .et_overlay {
    display: none !important;
}

That’s it! : )

Did this answer your question?