每个类别不同的主题吗?

Forgive the newbie question – I am not yet well versed in the theme system.

Is there any way to possibly use multiple themes for the same installation? In other words, for example, have one theme in use for a specific category and another theme be default site-wide/elsewhere?

Not themes, but different styles you can. There is a class with the category name on the body.

Ah, OK. I’ve done that previously, or something close to it, so am familiar with the idea. Just wondered if there might be a faster way to adopt different styling between categories. Thanks! :slight_smile:

With SASS scoped selectors it’s pretty easy:


// put main theme here

body.category-support {
 // paste another theme here
}

这意味着我也可以使用不同的主题组件,
例如:默认为所有人使用标准视图,切换到“任务”时使用看板视图。

你能分享一份更详细的教程说明具体怎么做吗?我想照做,但无法完全理解你的步骤。

@Falco@downey,能否请您提供一些见解?

此外,我是否可以在汉堡菜单中添加一个条目,用于切换到预设过滤器并激活 https://meta.discourse.org/t/kanban-board-theme-component/118164(或以下列出的任何其他插件)?

另外,它还应使以下内容在导航栏中可见:

这很可能是因为这条支持提问已经是 2.5 年前的了。:smile:

如果您在安装或切换主题时遇到困难,最好新建一个 Support 主题,并详细说明您遇到的具体问题。

已操作,但是

这里已经讨论过这个问题,所以你可能是那个能够更详细解释的人。