Strike through username on deleted user posts

@halilesen · 30 Apr 2024 · 799 views
Post Reply
User avatar
halilesen
#1 ·
Posts: 57
Joined: 24 Mar 2024, 18:09
Full Name: Halil ESEN
Has liked: 12
Been liked: 9
If you select Retain posts when deleting a user, the deleted user's posts are retained in topics. However, you cannot click on the user's name and go to their profile.

Also, if you want to cross out the username to show that the user who wrote that post has been deleted, I'm about to show you the solution.

I have prepared a CSS code that does this for you. Using this code, you can strike through the username in the posts of users who no longer exist.

Code: Select all

.post .postprofile span.username {
    text-decoration: line-through;
    opacity: .85;
}

It does this: username


That's it. Any questions or other ideas?
Post Reply
  • Similar Topics