Archived topic
Hero image appears in all pages except our blog archive page
1 reply · Started by MICHAEL on November 14, 2021
Hi. I have the same featured image loaded for all dozen or so pages on our https://whatcommilliontrees.org nonprofit website. Everything appears fine on all pages except our Blog archive page at https://whatcommilliontrees.org/million-trees-project-blog-archive/ I've check he settings and cannot find anything that looks like a potential trigger. What's the problem? Thanks!
Hi Michael,
Your Header image is set to use "Featured image" so it's working on pages and posts but the issue is, a "Blog" is an archive page that doesn't have a featured image to be set. If you check ALL of the archive pages, you'll see that all of them have no images because archive pages can't be assigned a featured image by default like normal pages do.
That said, you either upload a fallback image on the Header element so the archive pages still displays that fallback image,
Or,
For the Blog page itself: consider making a separate Header Element for specifically for this page and assign an a custom background image on it. :D
For the taxonomy archive pages: You can try my suggestion here which is basically adding a featured image field for category pages.
https://generatepress.com/forums/topic/how-do-i-get-the-header-on-the-category-pages/#post-1440100