vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=318750

Larger Avatars In Postbit?
by jkotlowski
21 May 2015 20:11

Hi, I've been trying (unsuccessfully) to increase the size of avatars as shown in a topic. I'm running vB Cloud, so I don't have access to most of the CSS, unfortunately. I just have a small "CSS Editor" in the styles section. Right now I'm using this code;


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

And it's working, but I can't make the images any larger than 130 pixels or else it becomes uncentered in the postbit, and if I make it too much larger it actually runs into the post area and gets cut off. I guess I'm looking for a way to widen the postbit some so that images can be larger. My members want avatars with a max width of 200 and a height of 250 or 300.

Is there any way to do this with CSS edits? Or am I SoL?

Thanks in advance. And I hope I put this in the right area... ^_^;

Replicant 21 May 2015 21:27

Making the avatars any larger than 100 - 130px really screws up the responsive design. It can be done with CSS, but the system is really stubborn to let go of the default values since they are already using !important on some of them. The background of the postbit is pretty tricky too. It would be a lot easier to do with template edits but since you are on cloud, that's not an option. All I have to offer is good luck, I gave up on it.

jkotlowski 22 May 2015 02:11

Thank you for the help, regardless. I'll keep tinkering, maybe I can figure something out.

jkotlowski 27 Jun 2015 08:27

I've upgraded to a full version of vBulletin 5 now, running 5.1.7, if anyone has a method to increase the sizes. :)

jkotlowski 29 Jun 2015 21:35

I've tried a handful of codes that I've found across the forums but none of them expand the postbit's size, so avatars larger than 130 pixels in width always seem to but cut off. Pretty annoying, not entirely sure why vBulletin would take out such an important feature as custom avatar sizes. Seems counter-productive... (though a lot of things in VB5 seem this way...)

Cichlidgeek 05 Aug 2015 04:09

As a sidenote, how do you like not being on the Cloud?
I'm still on it, but some things are really making me want to upgrade.

Aros12 12 Feb 2016 21:17

Not sure this applies but I am on vB5.2 and with Replicant's help I got my avatars to increase while maintaining responsive integrity.

This is in the additional.css...


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I also increased the width of the postbit itself to accommodate the larger avatar size and user info...(Change colors, etc to taste)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


slowstreamer 25 Mar 2019 21:13

I was giving the above css code a go, but when I save the code to increase postbit width, I get a Template compile error.

Anyone else experience any problems ?

p.s. I'm running vB 5.4.5


All times are GMT. The time now is 18:45.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.