Post Image Cutting Off

Hello,

Thank you for this wonderful theme.
The featured image in my post is cutting off. I have unchecked the “Crop thumbnail to exact dimensions…” and reupload the image but same problem. See image attached.

Also, how do I center the post image?

http://www.develop.gggirl.org/

Thanks,
Adrian

Hi,

Just checking on the status of this request.

Thanks,
Adrian

Hi Adrian,

I hope you are well today and thank you for your question.

I visited your shared site but didn’t see the shared image on your site.

Could you please share me the page URL from your site where it’s displaying so that i can troubleshoot it?

Kind Regards,
Movin

Hi Movin,

Here is the url: http://www.develop.gggirl.org/posts/. I have more images like the first one with text on them and it does not matter how large or make the image it cut off.

Regards,
Adrian

The images on the shared page display in the size 730px X 410px by theme so the images having greater size than this is getting cropped.

If you want to change this size then you can do so by using the attached small plugin that contains the following code.

function custom_unite_setup(){

    add_image_size( 'unite-featured', 730, 510, true );
}
add_action( 'after_setup_theme', 'custom_unite_setup', 99 );

Change image the size in the above to whatever you want to set for the featured image.

This work great. Instead of using it as a plugin I added the code to the child theme function.php.

Thank you very much.
Adrian

You are most welcome here :slight_smile: