# Changing 'After Header' so that it is just visible on main page

**URL:** https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587
**Category:** Support
**Created:** [4 juli 2017 om 14:21 UTC](https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587 "2017-07-04T14:21:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Bastinator](https://avatars.discourse-cdn.com/v4/letter/b/ed655f/32.png) [@Bastinator](https://meta.discourse.org/u/Bastinator)
#### Post date: [4 juli 2017 om 14:21 UTC](https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587/1 "2017-07-04T14:21:50Z")

</div>

Hello together,  
I am new to discourse and I’m not already finished with setting up my forum. For the Introduction I wrote my own code in the “after Header” in Admin → Costumize → Edit HTML/CSS, so that it just looks like the Introduction of [SmartThings](https://community.smartthings.com/). Now that this is finished, I want that my header is only visible on the main page and not on every page e.g. when I’m in a topic.  
Thanks for your help!

---

<div class="post-metadata">

### Author: ![vinothkannans](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vinothkannans/32/86465_2.png) [@vinothkannans](https://meta.discourse.org/u/vinothkannans)
#### Post date: [4 juli 2017 om 19:26 UTC](https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587/2 "2017-07-04T19:26:01Z")

</div>

You can conditionally hide your custom header via CSS like how I did it in [Discourse Branding](https://meta.discourse.org/t/branding-custom-brand-header-with-logo-navigation-and-icons/53265) plugin.

> <https://github.com/VinkasHQ/discourse-branding/blob/master/assets/stylesheets/branding.scss#L168-L170>

Like above you can display header only on topic list (navigation-topics =\> latest, top, new, etc.,) and categories pages.

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [24 juni 2019 om 16:38 UTC](https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587/3 "2019-06-24T16:38:54Z")

</div>



---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [24 juli 2019 om 16:38 UTC](https://meta.discourse.org/t/changing-after-header-so-that-it-is-just-visible-on-main-page/65587/4 "2019-07-24T16:38:56Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
