Add a signature picture for a specific user (I can do it for a group already)

I currently have it set up where a certain group has a small image that appears as sort of a signature in every post. I want to expand this to a couple people but I don’t really want to have to make individual groups for everyone (they won’t have the same one so I can’t just make a group for the few of them).

I’m not great with CSS (I can use it and sometimes tinker around a bit but that’s my limit). Right now I’m using

.topic-post.group-Owner .topic-body .cooked::after {
    background-image: url("https://picture.image");
    background-repeat: no-repeat;
    background-size: 160px 80px; /*change these values according to the image size*/
    width: 160px; /*change this value according to the image size*/
    height: 80px; /*change this value according to the image size*/
    display: block;
    float: right;
    content: "";
}

Which works fine for the group. I’ve tried swapping .username-User and that doesn’t work.

Hey,

If you look at the HTML structure, you can see the following:

You can rely on the user’s ID or username (but likely less reliable).

For example, with the ID:

.topic-post article[data-user-id="2"] .topic-body .cooked::after { 
  //
}
1 Like

That did it, thank you!

1 Like

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