Archived topic
Remove default featured image on all Pages
20 replies · Started by Neal on December 1, 2020
GENERATEPRESS
I am using the Classic Editor.
I just purchased GP Premium 1.12.2.
I want to remove the default featured image on all Pages.
What do I do?
NEAL
PS: Regarding Customizer > Layout > Blog > Featured Images > Pages: I have unticked the box for Display featured images and the Featured Images remain on the Pages.
Hi there,
can you share a link to a page where i can see the issue
DAVID
Thanks for the prompt response!
Here is a link to a Page on my jazz book: JAZZ
I do not want the image from 2001: A Space Odyssey (or any other Featured Image) on my Pages.
NEAL
Aah ok - thats actually your Site Logo's image. You can remove that in Customizer > Site Identity.
D
I use the Site Logo in the Customizer as the Featured Image/Hero Image on my homepage. If I remove it, is there a way to add such an image to my homepage with GP Premium?
N
Try adding this CSS to remove the logo from all pages aside from the Home page:
body:not(.home) .site-logo {
display: none;
}
D
That did not work.
N
D
Apologies—I jumped the gun!
I removed the piece of code from the CSS and pasted it back in and it worked fine!
Thanks.
N
D
So, now a question: Why doesn't GP Premium offer a Hero Image for the homepage?
N
Are you referring to the featured image on the posts/blog page which is your home page currently?
That's a WordPress thing unfortunately - it ignores all metabox options on index pages (blog, archive etc).
Let me know if this answers your question.
LEO
Thanks for the response.
Yes, I am referring to the featured image on the posts/blog page which is your home page.
Here is an example: Global Climate Change
Why doesn't GP Premium offer a Hero Image (or some such) to place there so I would not have to use the Site Logo?
NEAL
You can use a header element for that:
https://docs.generatepress.com/article/header-element-overview/
L
I just want a large, textless image on the home page similar to what I have using the Site Logo.
I tried following the instruction for the Header Element but could not make it work.
N
That case you can just add an image tag as the page hero content like this:
<img src="https://IMAGE-URL-HERE" >
L
I have this in the Hero content box: 
Then I have these setting:
Container: Contained
Inner Container: Contained
Horizontal Alignment: Center
Padding: none
Background Image: No Background Image
Location: Front Page
Users: All users
Still no image on home page.
N