Title: Write CSS to remover header.
Last modified: June 12, 2017

---

# Write CSS to remover header.

 *  Resolved [jmtokar](https://wordpress.org/support/users/jmtokar/)
 * (@jmtokar)
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/)
 * Hi all, I am currently working on building my art website, using wordpress theme
   2017, in addition to element-or . And I was wondering if there is a way I could
   code out the header on all pages expect my home page??

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220410)
 * Sure. Keep in mind the CSS for 2017 is pretty complex.
 * The developers and users of that theme would be the best people to ask. You can
   reach them here:
 * [https://wordpress.org/support/theme/twentyseventeen](https://wordpress.org/support/theme/twentyseventeen)
 *  [natalia_c](https://wordpress.org/support/users/natalia_c/)
 * (@natalia_c)
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220455)
 * Hey [@jmtokar](https://wordpress.org/support/users/jmtokar/),
 * To see if I’m getting this correctly, all pages except the homepage should look
   like this: [‘About’ page](https://snag.gy/24cehj.jpg) ?
 * Thanks 🙂
 *  Thread Starter [jmtokar](https://wordpress.org/support/users/jmtokar/)
 * (@jmtokar)
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220633)
 * Yes exactly! Is there a code I can right to do that?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220652)
 * Please provide a link to a page on your site where we can see this. Thanks.
 *  Thread Starter [jmtokar](https://wordpress.org/support/users/jmtokar/)
 * (@jmtokar)
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220678)
 * Here is the link to my site to one of the pages I want to remove the header on.
   
   [https://www.jmtokarart.com/about-artist/](https://www.jmtokarart.com/about-artist/)
 *  [natalia_c](https://wordpress.org/support/users/natalia_c/)
 * (@natalia_c)
 * [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220724)
 * Here’s the CSS code I used to create what I showed you in the screenshot:
 *     ```
       .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header {
           height: 0;
       }
       ```
   

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

The topic ‘Write CSS to remover header.’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [natalia_c](https://wordpress.org/support/users/natalia_c/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/write-css-to-remover-header/#post-9220724)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
