Archived topic
Global Page Hero - replacing image with featured image
7 replies · Started by Jocelyn on November 17, 2021
I created a global page hero element and have it set to 'Disable featured image' so I can use the featured image on pages with the element to designate a hero image, but it's not choosing the featured image I set on the page as the hero image. It's working fine for posts, but not for pages. Any suggestions?
Hi Jocelyn,
Any chance you can link us to the site in question?
You can use the private information field.
https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Let me know :)
Yes.
THIS is the page where I've set a featured image using the Global Page Hero.
You can see HERE where I set up the global page hero element with 'Disable featured image' turned on.
And you can see HERE where I've set a different image as the featured image to replace the hero placeholder.
thank you!
That's weird..
Can you make sure the background image is set to featured image?
Can you take a screenshot of all the elements you have so we can see if there's a location conflict?
Let me know :)
How do I set the background image to be the featured image?
Is this the screenshot you're looking for?
Hi Jocelyn,
You can set the background image for the Container Block to use the featured image by setting it through the Block Element's dynamic background feature.
See this screenshot - https://share.getcloudapp.com/NQu7pr8A
Amazing. Elvin & Ying, thank you both so much!
No problem. Glad to be of any help. :D