badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Reply To: My images are shown cut off in the posts

#96542

Hi giovalt,

We apologize for the late response. Yes, for your solution please go to ‘Theme Directory > template-parts > content.php’. On line no: 33, you will find below line of code.

<div class="post-img" style="background-image: url('<?php echo esc_url(get_the_post_thumbnail_url(get_the_ID(),'full')); ?>');"></div>

please replace the mention code with the below Custom Code:

<img src="<?php echo esc_url(get_the_post_thumbnail_url(get_the_ID(),'full')); ?>" class="img-fluid" alt="">

after that please go to the ‘Dashboard > Appearance > Customize > Additional CSS’ and paste the below Custom CSS code.

.page-single-img-wrap {
	background: none;
}
.page-single-img-wrap:before {
	display: none;	
}
.page-single-img-wrap img {
	width: 100%;
}

NOTE: Please make sure you make the child theme first before customizing the Theme code so that your customized code won’t get lost when updating the Theme to a newer version in the future.

Thanks