• Resolved ziafco

    (@ziafco)


    The header for my posts page is the same as my homepage, but I would like to change it. I’m able to change all other headers on the site via “featured image”, but I cannot do this with the posts page for some reason. Can anyone help? Many thanks.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hi there, I see a featured image on your blog page for New Site on the Way, and when I click to view that post, it is showing the featured image there as well. Did you get this resolved or do you still need some assistance?

    Thread Starter ziafco

    (@ziafco)

    Hi, it’s the header at the top of the posts page that I’m trying to change. It’s somehow set to be the same as the Home Page. Changing the featured image for the page doesn’t work – the featured image won’t show up for the posts page (but it does show up for all of the other pages). I’ve removed the blog post for now, so you can hopefully see what I mean – I want to change the header at the top of this page https://heartproductions.ca/blog-2

    Thank you

    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    The posts page is set to use the Header Image set at Customize > Header. That image is set as a background image via CSS, so we can easily change it by specifically targeting the blog page using the blog CSS class from the opening body html tag on that page. Replace URL_OF_IMAGE between the quote marks with the url of the image you wish to use.

    .blog .custom-header-image {
      background-image: url('URL_OF_IMAGE') !important;
    }
    Thread Starter ziafco

    (@ziafco)

    Success! Thank you so much ??

    • This reply was modified 7 years, 3 months ago by ziafco.
    sacredpath

    (@sacredpath)

    Automattic Happiness Engineer

    Hooray and you are welcome!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to Change Header on Posts Page?’ is closed to new replies.