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

You can conditionally hide your custom header via CSS like how I did it in Discourse Branding 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.

7 Likes