# How to remove last visit

**URL:** https://meta.discourse.org/t/how-to-remove-last-visit/253733
**Category:** Development
**Created:** [February 1, 2023, 7:09pm UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733 "2023-02-01T19:09:24Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 1, 2023, 7:09pm UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/1 "2023-02-01T19:09:24Z")

</div>

Greetings of the day, experts!  
Apologies for disturbing you all again, but I am a beginner, and I am still learning. Again, with a question, is there a way to remove the **last visit**?  
I am not proficient in CSS. So, if needed, I will be grateful if you can share the code as well.  
Thank You in advance and have a nice day!

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 1, 2023, 8:29pm UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/2 "2023-02-01T20:29:18Z")

</div>

Hi Ankush!

On which page is the “Last visit” you’re talking about?

Can you provide a screenshot?

---

<div class="post-metadata">

### Author: ![twofoursixeight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/twofoursixeight/32/574822_2.png) [@twofoursixeight](https://meta.discourse.org/u/twofoursixeight)
#### Post date: [February 1, 2023, 8:38pm UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/3 "2023-02-01T20:38:48Z")

</div>

Is it the ![image](https://global.discourse-cdn.com/meta/original/4X/1/d/b/1dbf95a22673ac6b7f013b94660401015ba09764.png) thingy that is refered to as the Last Visit that the OP is talking about? (That’s what I think the OP is refering to.)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [February 1, 2023, 9:13pm UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/4 "2023-02-01T21:13:45Z")

</div>

Users can disable presence in their profile settings. See `https://meta.discourse.org/my/preferences/interface` and `Hide my public profile and presence features` or disable it globally with `presence enabled` on site settings

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:07am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/5 "2023-02-02T07:07:29Z")

</div>

Please accept my apologies, Sir. I forgot to attach the screenshot. Here’s there **last visit** I was talking about:

 ![Last Visit](https://global.discourse-cdn.com/meta/original/4X/3/f/6/3f6a450232c8f9ef7e9d8b92f11eb37e0515a375.png)  
I want to remove this line, since I think I don’t need it. Thank You for your time.

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:08am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/6 "2023-02-02T07:08:21Z")

</div>

Apologies, I wan’t asking about this. I have shared a screenshot above. Thank You for taking the time to reply.

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:09am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/7 "2023-02-02T07:09:31Z")

</div>

Thank You for the reply, Sir. It’s not what I was asking for, and I have shared the screenshot as well. Apologies for not sharing it before.

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 2, 2023, 7:09am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/8 "2023-02-02T07:09:41Z")

</div>

Hi!

It’s not the last visit, it’s the date of the last **activity** on the topic, whether it’s a user post, an admin/moderator action, etc…

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:10am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/9 "2023-02-02T07:10:32Z")

</div>

Oh, my bad. Is there a way to remove it?

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 2, 2023, 7:12am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/10 "2023-02-02T07:12:09Z")

</div>

Yes, this CSS will do the job:

```css
th.activity, td.activity {
    display: none;
}

```

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/4/0/b4025d6e6117cd5b34fe9461ec24f982cbb83042.png)

✨

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:15am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/11 "2023-02-02T07:15:40Z")

</div>

Thank Your for the quick reply. I have added the CSS code.

 ![image](https://global.discourse-cdn.com/meta/original/4X/8/a/7/8a7dc963f604a4415d08eeba43b9a64e4261d6db.png)

But seems like nothing has changed:

 ![image](https://global.discourse-cdn.com/meta/original/4X/c/2/b/c2b448a870c1606bf4375b8b2e5f395f92d32f33.png)

---

<div class="post-metadata">

### Author: ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)
#### Post date: [February 2, 2023, 7:19am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/12 "2023-02-02T07:19:53Z")

</div>

Oh sorry, I misunderstood. I thought you were talking about the last column.  
Here’s the working code:

```scss
.topic-list .topic-list-item-separator {
    border-bottom: 1px solid var(--primary-low);
    .topic-list-data {
        display: none;
    }
}

```

Before:

 ![Last visit separator](https://global.discourse-cdn.com/meta/original/4X/5/b/a/5ba43e95f6d8b9f85e7867569f75ff5348d5cf7b.png)

After:

 ![Last visit separator hidden](https://global.discourse-cdn.com/meta/original/4X/3/f/6/3f6eac015d4adb34c3027e9d2d0c4e4d31bc4dd5.png)

---

<div class="post-metadata">

### Author: ![Ankush\_Santra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ankush_santra/32/289837_2.png) [@Ankush\_Santra](https://meta.discourse.org/u/Ankush_Santra)
#### Post date: [February 2, 2023, 7:30am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/13 "2023-02-02T07:30:30Z")

</div>

It worked, thank you so much! I am so grateful. Have a great day, Sir!

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 4, 2023, 7:31am UTC](https://meta.discourse.org/t/how-to-remove-last-visit/253733/14 "2023-03-04T07:31:11Z")

</div>

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