Is It Possible to Create Custom Pages in Discourse?

AI-generated summary

The discussion centers around the possibility of creating custom pages within a Discourse instance. Gaurav_Kumar_Sandan initiated the topic, inquiring about adding pages like a help center or integration-specific page. NateDhaliwal directed him to existing resources on meta.discourse.org, specifically the “Landing Pages” plugin (https://meta.discourse.org/t/landing-pages-plugin/180967) and the “Page Publishing” method (https://meta.discourse.org/t/page-publishing/151971).

Gaurav_Kumar_Sandan later confirmed he successfully created a custom page using the Page Publishing method and asked about adding custom HTML or CSS. NateDhaliwal explained that pages can be styled with CSS through Admin > Customize > Themes > CSS, and can be targeted with the .published-page CSS class. NateDhaliwal also asked which method Gaurav used to create the page.

We are exploring the possibility of adding custom pages in our Discourse instance (for example, a help center or integration-specific page). We’re not fully sure if Discourse supports this natively or if it requires a plugin or theme customization. Could you please guide us on whether this is possible, and if so, what the recommended approach would be?

You may want to check out

and

Hi, @NateDhaliwal
I have created a custom page, and it’s now working. How can I add custom HTML or CSS to this page?

Hi there, which method did you use? Thanks.

Hi @NateDhaliwal
I’m using the Page publishing method

I believe you can still use CSS to style published pages:

If I’m not wrong, published pages can be targeted with the .published-page CSS class.