Try this:
.select-kit .category-badge-icon {
display: none;
}
Try this:
.select-kit .category-badge-icon {
display: none;
}
That did it. Thank you for the help! I think Discourse navigation is fine as-is but for now I have to implement this small feature for these users and hopefully I can remove it at some point in the future. It’s more of a stop gap fix for the moment.
Hi,
Is it just me, or does this component not recognize name changes in slugs?
I doesn’t seem to recognize category slugs with changed names in my case, not right away anyway.
I use the dark mode component as well.
So that makes it a bit difficult to use this for the main categories. Because the icon shows up next to the main category. I now use “categoryColor”, which is red. That works for both the dark and light mode on my forum. But then the icon is not visible in the category selection menu. Because it has the same color as it. So there is just a blank space. Is there a way to fix this? Use an alternative color for the category dropdown menu? Because when “categoryColor” is used, the icon is not visible anymore. Would be great to have a white color for the icon there.
Ah, well, #cfcfcf works fine in both dark and light mode. Other option is also to use emojis of course 
I’d like to use an icon that is only available with a Font Awesome Pro subscription (specifically this icon). How can I do so with this theme component?
You need to first install this plugin:
And then the pro icons should be available for use for you, including for this component.
Thank you, Penar, I’ll take a look at this. I’m having some unrelated trouble rebuilding the forum, and haven’t been able to test this out yet.
我注意到这仅适用于类别,不适用于子类别。
在此基础上,它在除子类别显示为类别列表上方的框之外的任何地方都有效。它在类别列表上方的行中效果很好。
出于某种原因,categoryTitleLink 未应用于这些框。
有什么想法为什么会这样吗?我怀疑这可能是核心中的一个(小)问题。
稍后……
这已由出色的 Discourse 团队修复。但出于某种原因,您需要移除并重新安装此主题组件才能使其正常工作:
我其实很希望这也能让我使用表情符号,而不仅仅是 FontAwesome 图标。目前可能吗?
例如,我想有一个“欢迎”类别,我认为
这个表情符号是越来越标准的做法。
啊,这看起来很简单
谢谢!
在哪里设置?修改代码或函数切换开关
是否可以使用带有URL链接的上传图片?
不,我不这么认为。
Discourse-team 给了我一个可以添加到主题 CSS 中的解决方法:
// FIX - 新的私有分类锁定图标
svg.fa.d-icon.d-icon-user-plus.svg-icon.svg-string {
font-size: 1.3em;
align-self: center;
}
我遇到了一个问题,分类缩略词似乎不遵循精确名称中的连字符。
例如,如果我有分类缩略词:
beta-testing
beta-testing-bugs
beta-testing-features
然后我添加以下主题组件条目:
beta-testing,trash-alt,categoryColour
beta-testing-bugs,trash-alt,categoryColour
beta-testing-features,trash-alt,categoryColour
只有第一个分类采用了“trash-alt”图标,而其他分类不显示任何图标。
如果我删除连字符,它似乎就可以工作了。
categories:
beta-testing
betatestingbugs
betatestingfeatures
theme component entries
beta-testing,trash-alt,categoryColour
betatestingbugs,trash-alt,categoryColour
betatestingfeatures,trash-alt,categoryColour
这是一个变通方法,但它有点破坏了缩略词的命名约定。是我做错了什么还是这是一个 bug?