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개의 좋아요

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개의 좋아요

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개의 좋아요

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개의 좋아요

정말 멋지네요, 감사합니다. 그 레이아웃을 “새 주제” 버튼에 적용하고 싶습니다.
저는 프로그래머가 아니에요. 기술 지식이 제한적인 상태에서 어떻게 하면 좋을지 조언을 주실 수 있을까요? @alehandrof

admin/customize/themes로 이동하여 활성화된 테마의 common > CSS 아래에 다음 내용을 추가하세요.

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

Discourse 테마에 대해 자세히 알아보려면 여기를 참조하세요.

Beginner's guide to using Discourse Themes

6개의 좋아요

오, 훌륭하네요. 이 코드를 그대로 복사해서 붙여넣었는데 잘 작동했어요. 코드를 뭔가에 추가해 본 건 처음이라 정말 신나고, 결과도 아주 마음에 듭니다. @Johani 감사합니다.
기본 텍스트인 "New Topic"을 "Create New Topic"이나 다른 더 눈에 띄는 문구로 변경할 수 있는 방법이 있을까요?

1개의 좋아요

네, admin/customize/site_texts로 이동하여 js.topic.create를 검색하세요.

이렇게 하면 두 가지 결과가 표시됩니다.

첫 번째는 주제 목록에서 보이는 버튼에 사용되는 텍스트입니다. 두 번째는 새 주제를 만들 때 작성기에서 사용되는 제출 버튼에 사용되는 텍스트입니다.

두 텍스트 모두 원하는 대로 수정할 수 있습니다.

3개의 좋아요

정말 감사드립니다. 아주 유용합니다. 이미 수정했습니다.

1개의 좋아요

휴가 중이라 이메일을 확인하지 못했어요. @joe 님, 후속 조치를 취해 주셔서 감사합니다! 사실 언제 그랬는지 기억조차 안 날 정도로 오래전 일이었거든요! :blush:

3개의 좋아요