Adding designs to pages

Hi, I was wondering how I can design a homepage with a quick one-time introduction page that can be closed out? Or even customize a login/signup box similar to Reddits’?

Why don’t you just use Reddit? Might save you some time.

I actually grew accustom with tags and I’m simply asking how to add designs to pages. Many mainstream sites have this nice visual touch.

Customization is done by writing #themes. In the Admin :arrow_right: Customize :arrow_right: Themes you can edit the CSS / HTML associated with a theme to add your own customized touches. Since you can inject your own JavaScript into Discourse app using themes, the possibilities are literally endless.

You can also make custom color schemes from within the GUI. That’s a lot easier than mashup web programming, though not as powerful.

The closable one-time introduction is done by making a banner topic.


Here’s another example from Discord. Don’t worry, I’m not gonna go use Discord. The point is to give an idea of what I’m talking about.

So you want artistic backgrounds in general?

In certain scenarios:

  1. One-time pop-up page (not banner topic) on the homepage. (ex: on Tumblr)
  2. Around the sign-up/login area when clicked on (ex: on Reddit & Discord), around here:

You can customize modals visually with CSS.

For example

.d-modal.login-modal {
    background: url( 0% 0% / contain;

or .modal-inner-container {
    background: url(;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
    padding-left: 140px;

This isn’t functionality that comes with Discourse, so this would require a plugin or theme. There are some similar #howto topics that could help, like Banner themes (and instructions for customizing them) — there’s an example there that helps you create a collapsable banner. Dismissing the banner entirely wouldn’t be a vastly different process.


That’s amazing! Thank you so much! Just one question, how do you make the background image show up when you try to sign up, too, not just logging in?

// Login
.d-modal.login-modal {
    // CSS here

// Create
.d-modal.create-account {
    // CSS here

@awesomerobot You’re by definition a God, sir.


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