Archived topic
Adding Featured Image to Page Hero Element
10 replies · Started by Tim on May 20, 2022
I'm trying to update my header element but it's not working because I don't see all of the options. I don't see the Page Hero or Site Header options. Only Display Rules and Internal Notes.
Can you help?
Hi there,
Any chance you can link us to the page in question?
You can use the private information field:
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
It's in a construction mode but basically I have a page hero element but have a lot of different service pages. Instead of creating a new element with a unique hero image I'd like the hero element to simply just use the featured image. It is working for the blog posts but not the pages.
It's tough to help without seeing the issue live or the backend access.
Are you using a block element page hero?
https://docs.generatepress.com/article/block-element-page-hero/
Login info included below.
All "service" pages is what I'm talking about. I'd like that global element to use the featured image section if possible.
Hi Tim,
Can you attach the site login link as well?
Sorry. It's attached now.
Hi Tim,
1. I don't see a Header element in the list of all your elements.
https://www.screencast.com/t/PyWoYgCOj
2. So I tried to create a new Header element, but I don't see anything missing in the element:
https://www.screencast.com/t/jEUDTR5f
https://www.screencast.com/t/WKdMuf40Ip
Let me know if I miss anything.
I guess I'm confused because I'm using the block Page Hero elements. For the posts...it is using the featured image of the post as the image on the page hero. For the pages...it is not.
Look at the http://redefineyourpain.com/conditions-we-treat/arthritis/ service page.
Does it have to be a header element?
I actually figured this out by using the dynamic block section of the page header. Thank you!
Yes, you can set the background image to featured image in block element - page hero.
So all good now?