Issue with Latest Posts Image Sizes

Hi there

I found some threads here that had code to address the issue we are having but it didn’t work so here goes…

We have put a post (3 posts) on the home page which draws the last 3 posts published onto the home page automatically

The images should be showing the entire image but they are being cropped - this example shows the middle post image as cropped but it should be full - I also had to adjust the positioning of the first post from “center” to 80%20% as their heads had been cut off

What should the settings be please? Or code for the .php file to rectify it?

Thanks so much

Hello Julie,

Thanks for posting in! The images were cropped because of this custom CSS:

.type-page figure {
    height: 200px !important;
}

You may need to remove this CSS code. Do you want to set a particular image dimension for those post items? If you do, you should set a minimum height in the DIV element that contains the Image element.

Best Regards.

Hi there

Thanks so much for the reply - I cannot find the right area to locate this code.

Can you please show me where you found it?

Thanks

Hi Julie,

You can add this to Global CSS as shown in the given screenshot.

Hope it helps.
Thanks

Hi - sorry I am trying to locate the custom code that @ruenel identified - I can’t find where that is
Thanks

Hi Julie,

Please check it in Appearance > Customize > Additional CSS section.

Thanks.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.