Folks,

I find it really hard to come up with pictures that work well when they are as long and thin as the banner size. I would really like to have my pictures retain their aspect ratio, expand to the correct height and then float to the centre of the banner page. I am a bit of a novice in "css" so I can't figure out how I might do this. Any thoughts before I dig out my image editing tools and start creating wide images with lots of white space at the side...

Dave

Comments

BhumikaVarshney’s picture

Issue summary: View changes
Status: Active » Needs work

Try this
img.slide{
object-fit: cover;
}

BhumikaVarshney’s picture

Status: Needs work » Needs review
gaurav.kapoor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.