"Last Seen" User Card

Hello :wave:

You can order it to the first place with adding this css to a component Common/CSS section.

#user-card {
  .metadata {
    .last-seen-metadata {
      order: -1;
    }
  }
}
5 Likes

Thank you for the code. I applied it, cleared cached, and reloaded, but the position didn’t change.

1 Like

Hmm it should work… :thinking:
Did you add it to the right place in Common/CSS and activate the component to the theme?


One more thing I can think is you have an older version of Discourse and this code might not work.

I updated the code above!

1 Like

I added it as a component then added css


I don’t think it’s old as I’ve just downloaded it yesterday and installed it on my server.

Could you share your site url so we can check what is happening? :slight_smile: You can send it in PM too if it’s not public.

Got it working! I just had to rebuild. Oopsie. :blush:

CSS change doesn’t need rebuilding :thinking: Just reloading of the forum in a browser.

2 Likes

I didn’t think so, but that’s the only thing that worked. Maybe a coincidence.

Me personally, it should be last post, and the last seen.