All Collections
Divi Documentation
Customizing Divi
How to Disable Lightbox On The Gallery Module
How to Disable Lightbox On The Gallery Module
If you want nothing to happen when you click on the gallery module images
Cristi avatar
Written by Cristi
Updated over a week ago

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?