MyBB Community Forums

Full Version: postbit author alignments
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

MikeInToshx

Hey guys,

I'd like to change the space above the username, and above the avatar. There's too much room between it. How to remove/edit it?

[attachment=31048]

Cheers.
In postbit_classic find:
{$post['useravatar']}<br /><br />

And remove extra <br /> leave only one!

{$post['useravatar']}<br />

You can also wrap your {$post['useravatar']} with:

<span class="test">{$post['useravatar']}</span>

Then add this to your global.css

.test img {
margin-top: 10px;
}

MikeInToshx

Hey marcus,

I could only see 1 breaktag in postbit_classic, removed that, but worked. Thx.

What about above the username?
What do you want to do with username?????? I have updated my reply check it!!!!

MikeInToshx

In my image u see 2 yellow circles, correct? Above the username "Thie" there is some space i'd like to remove.
This solved the space above the Avatar only.

Cheers
Use my answer above and wrap {$post['usertitle']}

Hold on remove img tag!

<span class="test">{$post['usertitle']}</span>

.test {
margin-top: 10px;
}



or style="margin-top: 10px;"

<span style="margin-top: 10px;">{$post['usertitle']}</span>

MikeInToshx

Your wrap didn't work. But I fixed it already thanks.
Just remove <br /> sorry was trying my best Smile

MikeInToshx

Yes I did.