Category Icons

Actually, I checked this again and that assessment of the problem doesn’t seem to be accurate. It seems like any slugs that have some of the same words as another will not work despite not using partial.

If I’m already using these slugs:

midi
deprecated

Then I can’t use:

midi-deprecated
midideprecated
mideprecated
deprecated-midi

somehow it won’t distinguish it as a different slug I guess

in the end, I had to use: abcd

2 Likes

Hello. Can I make category icons on colored round background like nodebb? This makes the icons look prettier

2 Likes

Yes that should be doable using some CSS.

3 Likes

Hi. Can you add a category style setting to make it look like this?

Is this what meta is using on #howto?

1 Like

@MarcP

I believe this component is for adding icons to category badges. That is, wherever you see the category appear in things like topic lists, title bar, etc. where it normally has a square with the category color and the category name.

Screen Shot 2022-07-04 at 3.49.38 PM

Whereas the icons shown in the #howto category are simply using the built-in Category Logo Image setting found in the settings when editing a category.

2 Likes

Thanks for clarification, in the mean time I found out that what I was asking is core functionality indeed.

3 Likes

Would it be possible to make the category lock icon also apply to the #sidebar?

I note that the code is here but based on this I suspect that a core change in the sidebar might be needed too:

2 Likes