Minor feature request: could you add an ID or class to the li element so we can style this a bit easier?
Edit: I found my way around it:
.category-navigation a[href$="max_posts=1"] {
background-color: var(--blend-primary-secondary-5);
}
Minor feature request: could you add an ID or class to the li element so we can style this a bit easier?
Edit: I found my way around it:
.category-navigation a[href$="max_posts=1"] {
background-color: var(--blend-primary-secondary-5);
}
I’ve got a PR in the queue to add a class name to all of the nav items:
https://github.com/discourse/discourse/pull/16968
so once this is merged, .nav-item_unanswered
should work!
Excellent, thanks! And to be clear: this is a change to Discourse itself, not the TC, correct?
Oh yes, I should have mentioned that. This applies to core, and works for the theme component, which extends the core nav.