- This topic has 7 replies, 2 voices, and was last updated 3 years, 7 months ago by David.
September 28, 2018 at 3:17 am #688404Jonathan
Hi. My Feature Image appears on the Blog page, but not in the actual single post page itself.
If possible, I would like to try the following two options and see which one works best.
1) How can I have the Feature Image for its respective post, on their single post page as a Feature Image (under the Header)?
2) How can I set the Feature Image to be the Header for its respective single post page?
JonGeneratePress 2.1.4GP Premium 1.7.2September 28, 2018 at 8:19 am #688656DavidStaffCustomer Support
it looks like you have a Page Header that has been set to display on the blog and all single posts. If you set it to only display on the blog then the posts will automatically show their featured image if the Customizer > Layout > Blog > Featured Images > Singles are set to display.
you could then create a new Page Header that uses the featured image for its background and then assign that to posts. Let me knowSeptember 28, 2018 at 3:59 pm #688975Jonathan
Thanks David. That definitely helps. I used the ‘Legacy Page Headers’ area (and changed the Global Locations for Post Types-Single to this new header) to create the new header and that allowed me to display the Feature Image as the full length header for the post page.
However, so long as the Post pages have a Header, they will not show the Feature Image below. If there is no header, (e.g. just a white blank space) then they are displayed.
Can I somehow have both a Header and a Feature Image in operation on these pages?
JonSeptember 28, 2018 at 5:01 pm #689009DavidStaffCustomer Support
Yes, if you use the new Header Element instead of the Page Headers that has the option to display the featured image in the Hero and in the post content.September 29, 2018 at 3:30 am #689213Jonathan
Thanks David. I’ve created the new header based on Tom’s tutorial.
What works is that it is now a template for all the single post pages, and uses the feature image, which is great.
What still needs tweaking is that the feature image header is doubling up, along with 2 titles. Also the feature image pic does not appear in the actual body of the post.
There appears to be some old code that is messing with the page. Are there any fixes, or should I delete all the legacy headers and start over?
JonSeptember 29, 2018 at 5:41 am #689266DavidStaffCustomer SupportOctober 11, 2018 at 4:31 pm #699089Jonathan
Hi David. Yes, I got there in the end. I’ve now got an Element made for each of my Headers, and it works, no problem. Thanks for your help!October 12, 2018 at 12:32 am #699207
- You must be logged in to reply to this topic.