Header image not shown on pages

  • Unknown's avatar

    Hi,

    I have a problem with the header of my pages, they seem to use the default image of the theme instead of the header image I have chosen for the homepage.

    Any ideas?

    The blog I need help with is: (visible only to logged in users)

  • Hi there – Gateway doesn’t replace the header image with a page’s featured image, with the exception of the homepage. If that’s a feature you need, you could choose from one of these themes:

    https://wordpress.com/themes/filter/featured-image-header

    Alternatively, you could use custom CSS to add a different image to each page, but that’ll require a fair bit of code. For example, you could use this to replace the header image on the About page:

    /* Replace header image on About page */
    .page-id-83 .header-bg {
      background-image: url(https://decisionfactory.files.wordpress.com/2018/03/mentoring.jpeg);
      background-size: contain;
    }

    Notice the empty space to the left and right of the image; you could try removing the background-size: contain; part, but then the man’s head will be cut off.

    You might want to look for more flexible images that can withstand some heavy cropping, because of the way this theme is designed – or you can choose another theme. All premium themes are included with your Premium plan, so there’s quite a wide choice. If I can help you find something that suits your needs, just let me know.

    Also just a heads-up that since your site has a Premium plan, you’re entitled to live-chat and email support, accessible here:

    https://wordpress.com/help/contact

    You’re welcome to still post in these forums, but those other support avenues may be faster, and you’ll always get a staff reply.

  • The topic ‘Header image not shown on pages’ is closed to new replies.