如何更改主题列表分隔线的颜色?

The divider lines are almost invisible, what’s the CSS to change it?

.topic-list-item
    {border-bottom: 1px solid #be235b;}

Obviously, adjust the color as you like.

1 个赞

Thank you! Do you know the CSS for the top divider too?

What you’re looking for is .topic-list-body.

.topic-list-body {
  border-top: 3px solid #be235b;
}
2 个赞

Great! One last question:

What’s the CSS for the header divider line

And the “last visit” text / line

You can find these by inspecting that element. Right click on the element > Inspect.

1 个赞
.d-header {
  box-shadow: 0 0 0 1px #be235b;
}
.topic-list .topic-list-item-separator .topic-list-data {
    border-top: 1px solid #be235b;
}
2 个赞

Thank you. And what about the “last visit” text?

When I do inspect element I don’t really know what I’m looking for… The tags usually aren’t visible

Wait. I got it, I needed to add “span” to the end

.topic-list-item-separator .topic-list-data span {
  color: #FF0000 !important;
}
1 个赞

Right click on, say, the ‘last read’ text, then click on ‘Inspect’. You should see the element in the developer tools, and you can copy over the class. This way, you can find the class and id of any element on the page.

1 个赞

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.