MyBB Community Forums

Full Version: Horizontal user postbits to vertical?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi guys,

How do you force everyone to view in classic horizontal mode?

Also, as you can see here: http://www.berlingoforum.co.uk/showthread.php?tid=5869

Not much lines up. I'd like each user to be the same width, and Author & Message to also line up near the top of each user, any tips would be greatly appreciated!
Thanks Jovan, any ideas on Part II of my question about lining up?
Seems like your Thanks received plugin makes alignment problem. You can try to write one <br> after "Thanks received" and numbers after that. So you'll have something like this:

Thanks received:
1 in 1 posts

No alignment problems Smile Or you can change to vertical mode and end of the problem.
Sorry I forgot to write you all of this in my first post.
Thanks for the follow up Jovan.

I think there is a problem elsewhere, with the Location field.

If you see this thread, all users are aligned until 'addo' who has a large location field. Is there a way to fix the width of postbit_author_user in this classic style?

http://www.berlingoforum.co.uk/showthread.php?tid=5829

Partly solved: http://community.mybb.com/thread-100791.html

Still not lined up perfectly.
I didn't saw that also, ah sorry Smile

Can you try maybe, go to postbit_classic and you'll see somewhere this line of code:

<td class="trow1" width="25%" valign="top" style="white-space: nowrap; text-align: center;"></td>

Increase width to see what is going to happen, and If your problem is fixed. Be sure you save your template somewhere before editing.
That does work yep, just an issue of how to fix the width so that the content forces itself to fit inside the postbit, rather than making it wider. Is that a simple edit?
I am not sure that is simple edit, because if we make box to be in one dimension, and content is bigger then that, then it will be out of box. And to force content to some dimensions regarding to size of content, I am not sure how would i do that.
Thanks for the help so far Jovan, can anyone shed some light as to how the alignment problem can be fixed? I want the width of each users postbit fixed, rather than changing to the width of the content.
It is the way you have your postbit set up - the whole td is affected by the white space:no wrap.

If you put a div around the postbit_author info and give that div a style of "white-space: pre-line;" then that will wrap the lines.
Pages: 1 2