Archived topic
Content messes up featured image size
3 replies · Started by Seth on August 31, 2017
Hey! I am trying to add content to my page header, but whenever I add content, it shrinks the height dramatically. If I don't add, content, everything is fine (http://3cd.3c7.myftpupload.com/home_test/help/). When I do add content, I get this: http://3cd.3c7.myftpupload.com/our-courses/. That image is 2400x600, but it's displaying at a height of like 100px I think.
Am I just misunderstanding one of the settings? I've tried this with the resize image option enabled and disabled. Thanks a bunch!
Hi Seth,
Try adding some top/bottom padding: https://docs.generatepress.com/article/page-header-content/#top-bottom-left-right-padding
Let me know if this helps.
That worked decent. It is a little finicky though. Is there not a way that I can just have the featured image stay the same size as the file?
If you don't need to add any contents then you should just be using featured image instead of page header: https://docs.generatepress.com/article/adding-featured-images/
The page header image is added as background image so the size is controlled by the padding.