How can I give a specific user a different colored avatar border ("everywhere")?
4 posters
Page 1 of 1
How can I give a specific user a different colored avatar border ("everywhere")?
Hello,
I am currently using this code:
This changes the color of the border in posts/threads.
How can I change it in all other places (except memberlist)? Like the big avatar in "profile pages", the smaller ones in the "friends section", and in the "users who participated in thread"-section, and so on...
Thanks.
I am currently using this code:
- Code:
.postprofile dt a[href="/u###"] img { border-color: #ffffff; }
This changes the color of the border in posts/threads.
How can I change it in all other places (except memberlist)? Like the big avatar in "profile pages", the smaller ones in the "friends section", and in the "users who participated in thread"-section, and so on...
Thanks.
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Hello @Friendly Toucan,
The easy way to do is
The easy way to do is
- Code:
a[href="/u###"]:not(.profile-icon) img { border-color: #ffffff; }
#memberlist a[href="/u###"] img { border-width: 0 !important; }
Ape, sivastar and TonnyKamper like this post
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Hey,
Thanks for trying to help, too bad that code didn't really change any additional borders than the code I was already using.
"Difficult", meaning it's still possible?
I also tried:
This also changed the border of the big avatar in the profile page. Still haven't figured out how to do this for the avatars in the "friends section", and the avatars in "who participated in topic"-section.
Thanks for trying to help, too bad that code didn't really change any additional borders than the code I was already using.
pedxz wrote:In profile and others parts it's difficult with css
"Difficult", meaning it's still possible?
I also tried:
- Code:
img[src*="the-user's-avatar.png"] { border-color: #ffffff; }
This also changed the border of the big avatar in the profile page. Still haven't figured out how to do this for the avatars in the "friends section", and the avatars in "who participated in topic"-section.
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Other than the posted code from the first message I don't know what was added. The forum is closed for guests which complicatesFriendly Toucan wrote:Thanks for trying to help, too bad that code didn't really change any additional borders than the code I was already using.
Ya by editing template, using a script or do what you have done below and use the image as a referencepedxz wrote:In profile and others parts it's difficult with css
"Difficult", meaning it's still possible?
This also changed the border of the big avatar in the profile page. Still haven't figured out how to do this for the avatars in the "friends section", and the avatars in "who participated in topic"-section.
- Code:
a[href="/u###"] > .avatar > img {
border-color: red !important;
}
[title="USERNAME"].poster::before {
border-color: red !important;
}
|
sivastar and Friendly Toucan like this post
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Good afternoon!
1) I suggest using another property:
Result:
2) I can also suggest a way of defining the image with "alt":
The 'alt' value of an avatar is either a nickname or a randomly generated value:
You need to check your 'alt' value
The standard border design will have priority in the users list. Otherwise, you can use this code to remove the borders:
1) I suggest using another property:
- Code:
img[src="IMAGE LINK"] {
border: 5px solid red;
}
Result:
2) I can also suggest a way of defining the image with "alt":
- Code:
img[alt="Admin"], img[alt="test 1-14"] {
border: 5px solid red;
}
The 'alt' value of an avatar is either a nickname or a randomly generated value:
You need to check your 'alt' value
The standard border design will have priority in the users list. Otherwise, you can use this code to remove the borders:
- Code:
a.tooltipstered img {
border: none;
}
Razor12345- Support Moderator
- Posts : 1586
Reputation : 268
Language : Ukr, Rus, Eng
Location : Ukraine
sivastar and Friendly Toucan like this post
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Hello again,
The border color is now changed in all different avatar locations.
Big thanks to all who helped!
Marking this as "solved".
The border color is now changed in all different avatar locations.
Big thanks to all who helped!
Marking this as "solved".
Re: How can I give a specific user a different colored avatar border ("everywhere")?
Problem solved & topic archived.
|
Similar topics
» Is it possible to give points to a specific person?
» How to give a forum to another user?
» [Inpossible?) Specific Avatar
» colored user names
» Mutli-colored user names
» How to give a forum to another user?
» [Inpossible?) Specific Avatar
» colored user names
» Mutli-colored user names
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum