Announcement
Collapse
No announcement yet.
How to make round avatars in vB5
Collapse
This is a sticky topic.
X
X
-
I checked your site and I noticed that your custom css has this text "Note:This code is based off the vB5 Default Style. If you have a highly customized" which breaks the round avatar CSS. I think you got it from another mod which is the Horizontal Postbit Layout. That text is not part of the CSS and should not be included in the CSS. If a CSS code has some text description, it should be enclosed in /* and */ tags so that CSS parser ignores it and treats it as a comment.Originally posted by montana rover View Post
Just tried it in default. No good. Site is open now. Thanks.
- Top
- Translate
- Bottom
Leave a comment:
-
Just tried it in default. No good. Site is open now. Thanks.Originally posted by glennrocksvb View PostDid you try in the default style? I can't check your site right now as I'm not on a desktop and guest access is restricted on your site.
- Top
- Translate
- Bottom
Leave a comment:
-
Did you try in the default style? I can't check your site right now as I'm not on a desktop and guest access is restricted on your site.
- Top
- Translate
- Bottom
Leave a comment:
-
Did not work for me. I even tried a different theme.
- Top
- Translate
- Bottom
Leave a comment:
-
I think I got it Glenn. This did the trick:
.b-avatar--m > img, /* mobile avatar size =60 */
.b-userinfo .b-avatar--m > img {
max-height: 60px !important;
max-width: 60px !important;
height: 60px !important;
width: 60px !important;
}
.b-userinfo__details { /* mobile user details to right of avatar */
margin-left:0px;
display:none;
}
- Top
- Translate
- Bottom
-
I need access to your site to take a look at the issue.
- Top
- Translate
- Bottom
-
The changes worked on desktop but it also moved the profile fields in the postbit when viewed on mobile. Profile fields shifted onto the avatar like this:
- Top
- Translate
- Bottom
Leave a comment:
-
You're welcome. Thanks for the appreciation
- Top
- Translate
- Bottom
-
Glenn, I just wanted to say how much I appreciate YOU. You are always there to help when you can. Thank you.
- Top
- Translate
- Bottom
- Likes 3
Leave a comment:
-
Like a charm, Glenn. Thank you for looking into this for me.
- Top
- Translate
- Bottom
Leave a comment:
-
Ok rnedelkow
Replace this CSS code in css_additional template in AdminCP or Style > CSS Editor in Sitebuilder:
with:Code:.avatar, .b-avatar, .b-avatar--thread { border: 0; }
And this:Code:.avatar, .b-avatar, .b-userinfo .b-avatar--thread { border: 0; }
with:Code:.b-avatar--m > img { max-height: 115px !important; max-width: 115px !important; height: 115px !important; width: 115px !important; }
Code:.b-avatar--m > img, .b-userinfo .b-avatar--m > img { max-height: 115px !important; max-width: 115px !important; height: 115px !important; width: 115px !important; }
- Top
- Translate
- Bottom
Leave a comment:
Latest Posts
Collapse
-
by ChunkHello!
My name is Chunk (nickname). Im current graduated from my local college for Web Development. Today I will be exploring vBulletin...07-11-2026, 06:08 AM -
Get Affordable and Fast VPS for vBulletin -
by PitmanLol... Like I said, I am Shon.
I am I user and administrator of vBulletin since 2002 (good old days) and I joined here because I recently...07-08-2026, 02:29 PM

Leave a comment: