MyBB Community Forums

Full Version: Reduce height of postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I've added a few plugins and now the postbit seems to have some extra padding. Is there a way to reduce the height and eliminate some of the space? See attachment. I'd specifically like to reduce the space above the Points total and between "Given thanks" and the Facebook and Twitter icons.

Version: myBB 1.6 (fresh install)
Theme: Realize
Plugins: New Points, Thanks, Facebook profile link on Postbit 2.2 and Twitter profile link on Postbit (replicated from Facebook plugin).

Thanks in advance!
~Beth
Can you provide a URL?
There is two solutions for you :

1- In your theme global.css you need a section "post_author_info" with a smaller font size than the "smalltext" 11px fonts like :
post_author_info{
  font-size: 9px;
}

2- In you theme template "postbit_author_user" you can try to get rid of an extra "< br / >" if you find one.


Your best bet might be to view the templates for postbit and add a margin-top 0 and margin-bottom 0 directly to the table data (<td>). CSS changes may effect more than the postbit such as trow1 or trow2 which control the css of the postbit.
I tried all these things and had partial success. I was able to remove one <br>. The php code worked to some extent, but it only changed the font size of the standard postbit info, not the plugin additions. I also grouped the Reputation count and Post count on one line, so that was another line saved. The margin-top style change had no effect .trow1 (or .trow2).

So what's left is extra space at the top? Any other ideas?

The board is still closed and I'll be bringing live over the weekend.
http://www.brateaseboard.com/testmybb1600 (test board)
http://www.brateaseboard.com/mybb (after live)
The reason for asking for a URL was to view the source code and see what was causing the problem, if the forum is closed that's not possible.