How to set text color of topic that was read already?

How to set text color of topic that was read already in the list of topics? It is grayed out too much and it hurts usability.

You probably won’t be surprised that this can be done with a CSS customization :slight_smile:

The general approach to find these is to :one: right-click the element you want to customize, select Inspect :two: and look for the CCS classes :three:. Then, you write CCS to target this (your favorite search engine will help you), and test it by directly injecting it in your browser :four:.

Once you’re done, simply apply it in site settings.

In this case, the following will make these topics appear red:

.title.visited {
    color: #FF0000 !important;
}

这似乎已过时,因为“已访问标题”不再显示,尝试操作也无效。

另外,如何更改未读帖子的主题颜色?

我尝试使用检查元素功能,但两种情况下的类名都仅仅是“title”,修改它似乎会改变所有帖子的颜色,无论是否有未读帖子。

看来你现在可以使用选择器 .topic-list-item.visited .title

另外还有 unseen-topicnew-posts :slight_smile:

@fefrei 感谢提供新的选择器!还有一个问题。我想同时更改代表帖子回复数量的数字的颜色。但我注意到这些数字也可能有不同的颜色。有常规颜色,但我看到有些是橙色的,这代表较高的回复与帖子比例。这和已读/未读帖子的情况类似。有什么建议可以分别管理这些颜色吗?(另外,有没有办法知道是否还有其他可能的颜色?目前我只见过橙色。)

我现在用的是手机,所以没法帮你检查,但作为一般建议:尝试在浏览器的开发者工具中查看你想要设置样式的元素,寻找有用的类名。如果缺少信息,就沿着元素树向上(到每个元素的父元素)逐个检查——例如,在上面的 title 大小写案例中,visited 只在向上几层后出现,位于代表整行的元素上 :slight_smile: