Make "New Topic" button more prominent

I had some users complain that it wasn’t obvious how to post a new topic, so I styled the button to look like .btn-primary. I think that might be a good default, actually:

(I also changed the “create” vocabulary to “post” since taking the screenshot, but that’s another matter altogether :slight_smile: )

4 „Gefällt mir“

This is intentional, we believe people should look for existing topics first before rushing to create a new one. Reply is primary action not create topic.

6 „Gefällt mir“

Ah, interesting! For our community, we currently want new users to be able to find how to ask questions more easily. We’re a small, private community. But I can see why this would be counterproductive in large, public, and active forums.

2 „Gefällt mir“

Yes it’s totally fine to change this to whatever you want locally on your discussions, my comments are in the context of global defaults for all sites.

6 „Gefällt mir“

Das sieht super aus, vielen Dank! Ich würde gerne unseren „Neues Thema“-Button auf das von dir verwendete Layout umstellen. Ich bin kein Programmierer – hast du einen Tipp, wie ich das mit begrenzten technischen Kenntnissen umsetzen könnte? @alehandrof

Gehe zu admin/customize/themes und füge dies unter Common > CSS in dein aktives Theme ein:

#create-topic {
  background: var(--tertiary);
  color: var(--secondary);
  svg {
    color: var(--secondary);
  }
  
  &:hover {
    background: var(--tertiary-hover);
    svg {
      color: var(--secondary);
    }
  }
}

Mehr über Discourse-Themen erfährst du hier.

Beginner's guide to using Discourse Themes

6 „Gefällt mir“

Oh, fantastisch. Ich habe das einfach kopiert und eingefügt, und es hat funktioniert. Das erste Mal, dass ich Code zu irgendetwas hinzugefügt habe. Sehr aufregend und es sieht großartig aus. Danke @Johani.
Gibt es eine Möglichkeit, den Standardtext „Neues Thema

1 „Gefällt mir“

Klar, gehe zu admin/customize/site_texts und suche nach js.topic.create

Dadurch erhältst du zwei Ergebnisse

Das erste Ergebnis betrifft die Schaltfläche, die du in den Themenlisten siehst. Das zweite Ergebnis ist für die Sendeschaltfläche im Editor, wenn du ein neues Thema erstellst.

Du kannst den Text beider Elemente nach Belieben bearbeiten.

3 „Gefällt mir“

Vielen Dank, das ist super hilfreich. Habe es bereits geändert.

1 „Gefällt mir“

Ich war im Urlaub und habe meine E-Mails nicht verfolgt. Danke @joe für die Nachverfolgung! Ich habe mich tatsächlich nicht einmal mehr daran erinnert, was ich gemacht habe, es ist so lange her! :blush:

3 „Gefällt mir“