• Resolved opicron

    (@opicron)


    For an client website I need the images to be contained in the frame. The images I show are rings on an white background, when cut they look very skewed. How can I set the image to contain instead of cover?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter opicron

    (@opicron)

    for now I add the style where required as

    .slide-bg img {
    	object-fit: contain !important;
    }
    • This reply was modified 5 years, 2 months ago by opicron.
    Plugin Author eedee

    (@eedee)

    Hey @opicron,

    cool that you post that workaround. The next major release will contain a switch that allows different image sizes and slider styles for different ratio images, to allow showing them all in full.

    Until then everyone with the need to display full images, can use the css you posted.

    Plugin Author eedee

    (@eedee)

    resolved

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘set images to contain’ is closed to new replies.