Skip to content
Grav 2.0 is officially stable. Read the announcement →
Themes & Styling

Hide Blog Header Image

first-time

Started by Jeff 8 years ago · 3 replies · 1125 views
8 years ago

HI all,

Is there any way we can hide the blog header image?
For some content it is good to have but for some I would like to hide it.

8 years ago

Hi @Jeff, what theme are you using? Are you referring to the header image shown on specific blog posts?

8 years ago

I am with the new build in themes. Quark I guess?
This hero image of each blog post wasn't there when I was in antimatter.

8 years ago

Ok, I guess the most simple way would be to remove the hero_image: item in a posts front matter. If you are using the Admin Panel, you would just remove any file reference there and then save that page.

Posts can also have a Header image, so to turn off the display of that set header_image: to false or set the option 'Display Header Image' in the Admin Panel for that page (see Blog Item Options) to Disabled.

Let me know if that works for you.

last edited 05/26/18 by Paul Hibbitts

Suggested topics

Topic Participants Replies Views Activity
Themes & Styling · by Sebadamus, 7 days ago
5 154 1 day ago
Themes & Styling · by martynfoster735, 1 week ago
1 194 1 week ago
Themes & Styling · by Justin Young, 3 weeks ago
1 241 3 weeks ago
Themes & Styling · by Slebeig, 1 month ago
4 376 1 month ago
Themes & Styling · by Pedro M, 4 months ago
4 747 3 months ago