Feature Upgrade · World management · Created by
Sodose
accepted
Like many other CSS users, I use article-specific themes. These themes rely on CSS classes. These classes can only be applied to articles one-by-one, meaning that for me, a person with 7 themes, needs to go through each of my 160 articles and apply the classes individually.
I would like to be able to apply a CSS class to my categories and have those classes carry over to all the articles in that category.
I don't know if this is possible, but what would make us even more excited is if the CSS classes and cover image of a category carried over to articles in a sub-category under that main category.
The Team's Response
Accepted / partially - read below.
As spartango said:
Articles in a category already receive the class .category-CATEGORY-IDon the same element as .user-css, so this is already possible. However, this doesn't seem to also apply to articles that have parent articles instead of categories, so I would support that being addressed.
Resolution: I will be implementing the same for aritcle parent if one exists.
Also, I am sorry but there is a much better implementation for this by using TAGS on your aritcles based on the theme you'd like to apply.
Current score
30/300 Votes · +2820 points