Reply To: Courtyard FREE theme Slider Image size and position

Premium WordPress Themes Forums Courtyard Courtyard FREE theme Slider Image size and position Reply To: Courtyard FREE theme Slider Image size and position

#3270
Suvanno
Participant

Hello,
Please those CSS codes, maybe it will help you to achieve your required design.

.pt-hero-image-slide figure {
    height: 100%;
	margin: 0;
	text-align: center;
}

.pt-hero-image-slide img {
	object-fit: cover;
	object-position: center;
	width: 100%;
	height: 100%;
}

Let me know if it works or needs any help.

Regards