Responsive slider images are an art in itself, and usually they get cut, clipped or cropped on top, bottom, left, right or all around while the browser window size changes. Responsive slider images need to take that behaviour into consideration, but sometimes we simply don’t want even one pixel to be stolen, e.g. if we place text or a logo directly into the image. In DIVI it is easily possible with this little CSS customization – the famous padding-bottom trick. First assign a class to the slider (in its “Custom CSS” section), e.g. slider-ratio-16-9, and use the following CSS code:

The percentage of 56.25% is the ratio of 16:9, if you have e.g. a 1920x1080px image size (1080/1920*100). If you use other dimensions, you need to adapt the percentage accordingly. All slides need to have the same ratio, otherwise the bigger ones will be cropped again, even if at least in a controllable way. Also works with fullwidth sliders.

ENJOY the joy of uncropped sliders!