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


(Basti) #1

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. 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!


(Vinoth Kannan) #2

You can conditionally hide your custom header via CSS like how I did it in Discourse Branding plugin.

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