Archived topic
Featured Image Size Inside Header Element
4 replies · Started by Christian on September 11, 2020
Hello, GP Team!
I'm using the following template tag to add the Featured Image inside the Header Element:
{{custom_field._thumbnail_id}}
The original Featured Image size is 1,000 x 300 px.
However, it's only being displayed at 300 x 100 px inside the Header Element.
Is there a way I could have it display in its actual size of 1,000 x 300 px? :)
Hi Christian,
Can you provide us a link to your site on the Private Information text area so we could take a closer look on the issue?
Thanks.
Hi there,
Give this a shot first:
https://generatepress.com/forums/topic/elements-header-swapping-image-source-based-on-width/#post-1415285
Adding PHP: https://docs.generatepress.com/article/adding-php/
You can return full to show the full size.
Let me know if this helps :)
Hey, Elvin and Leo!
That worked :) Thank you so much guys <3
No problem :)