Featured image becomes the header image; how can I change that?

  • Unknown's avatar

    Hello,

    If you see my homepage, you’ll see that I only have a logo in the header and no image. But if you click on any blog post, you’ll see that the featured image becomes the header image. It wasn’t like this before and I personally don’t like it. Is there a way to change that so that the header looks the same as in the homepage?

    Thanks in advance

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

  • Unknown's avatar

    Hi there, does Pique support “Content Options” in the Customizer? If so, you may be able to indicate there not to display the Header image on the Post. See here: https://en.support.wordpress.com/customizer/content-options/#featured-images

    But I see that you have posted this in the CSS Customization forum, so will leave this for those that better versed in CSS than I.

  • Unknown's avatar

    I’m also going to tag this for Staff attention with a request to update this list of themes that support “Content Options”.

  • Hi there,

    I’m also going to tag this for Staff attention with a request to update this list of themes that support “Content Options”.

    That list only includes the themes that had it enabled at the initial launch, and is not meant to be a complete reference of all themes that support this feature, as far as I know. But I’ll ask the theme team if there is any possibility of publishing a complete list or adding it as a feature tag on the theme showcase pages.

  • Unknown's avatar

    @kokkieh – Yes please. :) With the changeover in the link from the Action bar to the internal theme page (rather than the Theme Showcase), this would be very helpful indeed.

  • @justjennifer, I heard back from the team, and there aren’t any plans to add a feature tag: the content options aren’t the same for all themes, so just having that feature tag alone won’t help if you’re looking for a specific feature, like hiding featured images. At the moment we’re not adding any new tags for features like those.

    An updated list is also not going to be published, partly because the feature is being added to new themes constantly, so it would need to be updated almost every other week, and partly because in the end this should be available on all themes – all recent themes already have it, and those that don’t are either being updated or will eventually be retired.

    What most of us internally do is to activate the theme on a test site and then check in the Customizer what content options it supports.

    In the case of Pique, it does appear to have the option to not show the featured image on blog and archive pages, but on single post and pages the featured image is indeed used as the custom header – the theme has the Featured Image Header feature tag, but it can be hidden with CSS.

    @artusartos

    Please add the following CSS in the Customizer. It should hide the featured image header on all single posts and pages:

    img#pique-header-image.attachment-pique-header.size-pique-header.wp-post-image  {
    	display: none;
    }
  • Unknown's avatar

    Thanks for the follow up, kokkieh. Much appreciated.

  • Always a pleasure :)

  • Unknown's avatar

    @kokkieh Thanks a lot, it does work. However, the header size expands. It’s not exactly like the header on the homepage.

  • I didn’t spot that. This should fix it:

    .single-post header#masthead.site-header {
    	height: 234px !important;
    }
  • Unknown's avatar
  • You’re very welcome :)

  • The topic ‘Featured image becomes the header image; how can I change that?’ is closed to new replies.