How to resize the featured image container on post page.

Posted in: Newspaper
Post count: 45

Hello,
Can you tell me how to customize the size of the featured image for the “POST/Category” page for my site? When I add featured images they are display at 1400×1050. I would prefer a much smaller resolution/height to minimize scrolling on the page. I used Default Post Template (site wide) is Style 7.
Thanks.

https://www.screencast.com/t/tbjdYSqcVnK

https://www.screencast.com/t/K0ZDKs72Y6yn

  • This topic was modified 9 years by mrtran.
  • This topic was modified 9 years by mrtran.
Post count: 20688

Hi,

That was the way that particular post template style was designed. You could modify the height of the header image with a code like this if you want (the default height for the image is 700px)
https://www.screencast.com/t/wYpALhWGH

.td-post-template-7 .td-post-header {
height: 400px;
}

Thanks

Post count: 45

Oh, great! Thank you so much Simion 🙂

Post count: 45

Hi Simion,
But on the mobile screen, this does not effect. How can I change?

Thank you!

Post count: 20688

Hi,

On mobile there is a condition setting the height like this
https://www.screencast.com/t/ykMLCdGadDT
You could enter the code provided above in Theme panel->Advanced Css in the desktop section and the one provided below in the phones section
https://www.screencast.com/t/WgYV0c80Nr5V

.td-post-template-7 .td-post-header {
min-height: 300px;
}

Thanks

Post count: 45

Thanks you Simion !

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.