이 컴포넌트는 카테고리 페이지에 레이아웃 요소만 추가합니다. 따라서 사이트의 다른 곳에서 이러한 제목을 참조할 수 없습니다. 주의할 점: 모바일에는 Categories Only라는 기본 페이지 스타일이 없습니다. 항상 추천 주제(Featured Topics)도 함께 표시됩니다.
That looks like expected behavior.. The color slot takes any value that you can use as background-color in CSS. So when you give a hex value, it will stay the same color in different modes and themes.
If you actually don’t want a background color, you should state none or transparent.
If you want a background color that changes with modes, you’d need to state it with a CSS custom property: you could use one of Discourse’s pre-defined ones like var(--secondary-high). Or define some yourself, as explained in
Yes please would love to get at least some kind of creds. But it’s up to you tho. Other than that it looks good and I’m going to recommend this theme component in my post since this makes it easier for new users.
@ Nolo
Is there a way in the TC, or with CSS in the theme to left align the Heading text, just like your second example).
also is there a way (if not using a banner image) to resize the header to just the thickness of a line of text.
And if so, can you resize the text so it’s not quite as large?
That’s because the styles are actually declared on the specific banners. Guess I could improve that on the component, but for now you’d need to overwrite with important.
Thank you so much for this component!! I’m developing a political forum, and being able to apply this kind of separation is critical.
While it’s already a huge improvement for my forum, It would be a world of a difference if the headers could be referenced by URL, because that would allow to create buttons at the top of the forum from which the user could be able to easily navigate in the same page. That would be extremely agile functionality if the forum (hopefully) gets a lot larger. Is it currently possible?
I’m excited to try this as I have created a bit too many categories and being able o organize them in groups will be a big help.
I will know when I try, this too then could be a way to leave old, lesser used categories off the front page, right? They would still be available via the new sidebar.
Yes, sure Actually I almost always make selections of categories on different page elements (sidebar, header, navbar, category page,..) It’s like the site structure of a website. It’s important that it’s well organized, but it doesn’t need to determine your ui presentation.
Hello @manuel I would like to know if this wonderful component still works after the speech updates, I installed it and it doesn’t work for me, thanks advanced