On the ‘latest’ page, if there is a topic in a subcategory it only displays the label of the subcategory it’s in.
Is there a way to show both the parent category and subcategory labels in this instance, as I may have multiple subcategories with the same name but under different parent categories, so it could get confusing.
There should be a subtle hint in the coloring of labels, e.g. on the left of the category label you should see a patch in the same color of the parent category. Example from my forum:
The second topic is in a subcategory of Eventi (that you can see in the third topic), and the small green rectangle is an indication of that. This is with the “category style” setting set to “box”.
I do see this. However, if there are a decent number of categories/subcategories it’s not clear to the user what category the ‘subtle hint’ in the colouring of labels represents. It would be great to be able to show labels for both the parent category and subcategory in these cases.
There is CSS that you could try though not exactly what you’re hoping for. eg.
<a class="badge-wrapper box"
href="/community/c/python-perl-and-golang/python">
<span class="badge-category-parent-bg"
style="background-color: #A45BC7;"></span>
<span class="badge-category-bg"
style="background-color: #1a69ca;"></span>
<span style="color: #FFFFFF;"
data-drop-close="true"
class="badge-category clear-badge" title="Discussion about the popular interpreted language for web, scientific and mathematical programming, based on the "One Obvious Way To Do It" philosophy.">Python</span>
</a>
If you change the “5px” values for badge-category-bg from