Archived topic
Single post featured image
5 replies · Started by Ronald Roy on January 23, 2017
I'm trying to control the layout of the header on a single post. To be specific, I want to have the featured image below the title. This works fine on my main blog page or a category page, but it doesn't work on a single post.
In a recent support forum post a user was told to set single post header position in Customizer > Layout > Page Header > Single Post Header Position > ....
I don't see anything for single posts when I go to Customizer > Layout > Page Header
Hi Roy,
Can you make sure you are using the most recent version of GP Premium?
We are currently on 1.2.92
https://docs.generatepress.com/article/updating-gp-premium/
Let me know.
Thanks for the quick reply. Yes, I'm using the latest version.
Solved the header problem by disabling and re-enabling the GP plugin. After first installing the plugin I created a child theme and enabled it. That may have confused things. GP now gives me single post header options. I now have my featured image sitting nicely below the post title.
One remaining problem: the featured image isn't centred in a single post (it is centred when viewing a page of posts).
Use this CSS:
.page-header-image-single {
text-align: center;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know.
Thanks. That's the same workaround I decided on.
Will this be fixed in the next release?
This is actually not a bug - The settings in Blog > Featured Images are meant to control the blog page, not single post.
I will ask Tom to consider setting the featured image in single post to center by default though :)