Title: Setting featured image changes the post header
Last modified: August 31, 2016

---

# Setting featured image changes the post header

 *  [moskii](https://wordpress.org/support/users/moskii/)
 * (@moskii)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/)
 * Hi, i’m pretty new, first things said.
 * While editing a post, I noticed that **by setting a featured image it automatically
   appears as a background image in the main page**. That’s quite good, I love it.
   But **it also modifies the header of the post**, and I don’t like that. I would
   rather keep the logo just like in the main page. Is it possible? How can I do
   it?
 * My site is [fisicadebar.com](http://fisicadebar.com) in case it helps. Thanks

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Thread Starter [moskii](https://wordpress.org/support/users/moskii/)
 * (@moskii)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435189)
 * I just updated to the 1.2.7 version of the theme but the problem persists
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435191)
 * Hi [@moskii](https://wordpress.org/support/users/moskii/),
 * You will need to make some changes to your theme’s backend code in order to display
   the header image in place of your post’s featured images.
 * The first step for this is to [create a child theme](https://codex.wordpress.org/Child_Themes).
   You can freely override the Pique theme’s code using a child theme, without losing
   any changes when the time comes to update the theme in the future.
 * Once you’ve created your child theme, copy the header.php file from your parent
   theme and remove the following snippet of code from it:
 *     ```
       the_post_thumbnail( 'pique-header', array( 'id' => 'pique-header-image' ) );
       else : // Otherwise, let's just show the header image
       ```
   
 * Let me know how you get on with those steps or if you have any questions.
 *  Thread Starter [moskii](https://wordpress.org/support/users/moskii/)
 * (@moskii)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435246)
 * I’ve created the child theme, with the _style.css_ and the _functions.php_ files
   just as the link instructions.
 * I found the file and the code you suggest to remove. Ok, now I copy the file..
   where? in my child-theme directory? And what then? Do I need to change something
   else?
 * I’m sorry, first time doing this, can you explain in detail this step?
 * Thank you very much!
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435288)
 * Hi there,
 * You’ll need to copy header.php from your parent theme to your child theme’s directory.
 * Files placed in your child theme’s directory have priority, so the child theme’s
   header.php will be the one that loads on your site. With this in mind, you can
   edit the file in your child theme to your liking and the edited version of your
   header will be the one that loads.
 * Remove the code I pointed to from the child theme’s header.php file.
 * Hope that’s helpful! If you’re interested in learning a bit more about how child
   themes work then there’s some good resources here:
 * [https://themebeans.com/tutorials/child-themes-101/](https://themebeans.com/tutorials/child-themes-101/)
 * I’d be happy to help with further questions, also.
 *  [kerrigo](https://wordpress.org/support/users/kerrigo/)
 * (@kerrigo)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435461)
 * I am having the same problem and would like the header to stay in place when 
   I am on the blog posts. I tried the fix you suggested and it didn’t work at all.
   It causes there to be no image at all in the header. What do you suggest?
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435462)
 * Hi [@kerrigo](https://wordpress.org/support/users/kerrigo/),
 * Can you please [start a new thread on this forum](https://wordpress.org/support/theme/pique#postform)
   and provide a link to your site? (The site linked to in your username is using
   a different theme to Pique.)
 * In your request, please include the steps you’ve already taken e.g. Have you 
   set up a child theme? Have you edited the header.php file?
 * I’ll be happy to help from there!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Setting featured image changes the post header’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/pique/1.4.2/screenshot.png)
 * Pique
 * [Support Threads](https://wordpress.org/support/theme/pique/)
 * [Active Topics](https://wordpress.org/support/theme/pique/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/pique/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/pique/reviews/)

## Tags

 * [featured image](https://wordpress.org/support/topic-tag/featured-image/)
 * [header](https://wordpress.org/support/topic-tag/header/)

 * 6 replies
 * 3 participants
 * Last reply from: [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/setting-featured-image-changes-the-post-header/#post-7435462)
 * Status: not resolved