# How to change 'last visit' line color?

**URL:** <https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652>\
**Category:** UX\
**Created:** [August 13, 2018, 11:02pm UTC](https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652 "2018-08-13T23:02:37Z")\
**Posts on this page:** 4\
**Page:** 1

## AI-generated summary

[nexo](/t/-/94652/1) sought assistance in changing the color of the line associated with the 'last visit' text in Discourse, noting that while the text color was adjustable, the line itself was not visible in the inspector. [featheredtoast](/t/-/94652/2) identified the relevant CSS class as `.topic-list-item-separator` and provided a code snippet to modify the `border-bottom` property. [Steven](/t/-/94652/3) contributed additional CSS for a dark theme, suggesting styles for both the `td` element to set the border color and the `span` element to adjust the background and text color. [nexo](/t/-/94652/4) thanked both users for their helpful insights.

<div class="post-metadata">

**Author:** ![nexo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nexo/32/106384_2.png) [@nexo](https://meta.discourse.org/u/nexo)\
**Post date:** [August 13, 2018, 11:02pm UTC](https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652/1 "2018-08-13T23:02:37Z")

</div>

I have a question regarding a supposed CSS element in discourse: I was able to change the `last visit` text color via CSS but no matter what I’ve tried, I can’t seem to change the line color of it. It’s nowhere to be found with my eyes within inspect element. Ideas? Thanks!

 ![x](https://global.discourse-cdn.com/meta/original/3X/6/9/6987d3d81ad5f0e24f6fb4667aa511a5d42048a5.png)

---

<div class="post-metadata">

**Author:** ![featheredtoast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/featheredtoast/32/116994_2.png) [@featheredtoast](https://meta.discourse.org/u/featheredtoast)\
**Post date:** [August 13, 2018, 11:14pm UTC](https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652/2 "2018-08-13T23:14:26Z")

</div>

it might be hard to spot - search for `topic-list-item-separator`.

```css
.topic-list .topic-list-item-separator td {
  border-bottom: 1px solid #ff33cc;
}

```

---

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [August 13, 2018, 11:15pm UTC](https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652/3 "2018-08-13T23:15:53Z")

</div>

I had some trouble too. I have these on my notes (for a dark theme), I hope it helps a little

```css
.topic-list .topic-list-item-separator td {
    border-bottom: 1px solid #64728c;
}

.topic-list .topic-list-item-separator td span {
    background-color: #64728c;
    color: #fff;
}

```

edit : a bit too late, but I leave it for the _span_

---

<div class="post-metadata">

**Author:** ![nexo](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nexo/32/106384_2.png) [@nexo](https://meta.discourse.org/u/nexo)\
**Post date:** [August 14, 2018, 12:08am UTC](https://meta.discourse.org/t/how-to-change-last-visit-line-color/94652/4 "2018-08-14T00:08:40Z")

</div>

I appreciate your helpful insights and I’m sure the rest of the meta community does as well, @featheredtoast and @Steven!
