![]() |
Rounded avatar?
Hi there, I've seen on a few forums people have a mod or template edit which makes all avatars rounded into a circle - I'm sure I've seen something here about it to but can't find the thread anymore.
Any idea how to do this? I've tried editing the postbit.css as so (ive tried a few things here, heres one example): Code:
.postbit .postuseravatarlink img { I'm still pretty useless at figuring exactly what to do for things like this haha, chances are im nowhere near the right place |
We would need a link to a thread on your site, and an image of what you want, in order to help with CSS issues.
|
1 Attachment(s)
I'm currently testing on the completely default template, with no changes. So the CSS is all original from that one (I'd provide a link, but my current forum template is locked to a customised one for users).
I've attached an image of what id like to achieve (badly edited as I've forgotten to bookmark the forum running it and away from photoshop :P). Basically, any uploaded avatars show up as a circle instead of the original picture shape. |
Perhaps this mod, https://vborg.vbsupport.ru/showthread.php?t=305608
|
I will have a look at the mod, thanks
edit: Not quite what I had in mind, too much going on with that for my forum. |
Hmm making it a circle can be done w/ CSS but all would need to be the same size avatar... gosh I've seen something before css wise that did what you said and made whatever image a perfect circle it may have used some .js as well can't recall but here's a snippet that rounds corners of avatars in posts see if you can tinker with this some (paste @ bottom of additional.css):
Code:
.postuseravatar img { Edit: Ohh and when you're tinkering w/ css and you use additional.css to "overwrite" a default definition, well if it already had a border-radius defined (any css) and you overwrite in additional.css w/o using !important it may not display your changes SO if you ever run into a scenario where you know it should work but it's not simply add !important to the end to ensure it knows "hey this is important to show just like this". |
That has done exactly what I wanted, thanks!
|
All times are GMT. The time now is 11:42 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|