MyBB Community Forums

Full Version: Thread prefixes support
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was wonder how to make a thread prefix like this:

http://i.imgur.com/Ys9GG3S.png Not exactly, but similar to it. I read a tutorial on Mybb thread prefixes the other day ( http://community.mybb.com/thread-125863.html ), but it wasn't what I was looking for. The tutorial ended up making the prefixes rounded instead of nice rectangular.
The only thing you needed to do was remove the border-radius.

<span style="background-color:blue;color:white;font-weight:bold">Test:</span>
(2014-04-01, 05:38 AM)thexshadow Wrote: [ -> ]The only thing you needed to do was remove the border-radius.

<span style="background-color:blue;color:white;font-weight:bold">Test:</span>

That looks better, but how can I make the box a bit bigger so the text doesn't fill the entire box?
Add some padding.

<span style="background-color:blue;color:white;font-weight:bold; padding: 2px 8px;">Test:</span>
Thanks shadow for the help Smile It works great!