Archived topic
Full width featured image/hero on pages
1 reply · Started by Adam on December 5, 2019
I am trying to get the image at the top of my main static pages (which are created as 'pages' in WordPress) to be full width while the content remaining contained. I also want a different image at the top of each of them as I have it now. They are currently uploaded as Featured Images.
I have read through some of the documentation, but haven't found a solution. Can you tell me what would be the best way to do this?
Thanks,
Adam
Hi there,
you can use the Header Element:
https://docs.generatepress.com/article/header-element-overview/
Set the Background image to Featured Image and give the element some top and bottom padding to control the height - try 20% top and 20% bottom.