Skip to content

Custom CSS for Popup

This example will remove any black space around the photo in the popup. This is useful if you are only trying to show smaller images.

Add the CSS below the photo to the Custom CSS box on the Settings > Global Options page of our plugin and then click save changes at the bottom of the page.

.ft-gallery-popup .mfp-image-holder .mfp-content {
   max-width: fit-content !important;
.ft-gallery-popup .fts-popup-image-position {
   min-height: auto !important;