MyBB Community Forums
Postbit border. - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Postbit border. (/thread-173336.html)



Postbit border. - Xenonzo - 07-20-2015

So currently, my post bit looks like this:
[img]-snip-[/img]

But I want it to have some kind of divider on the side like this:
[img]-snip-[/img]
(Dem MSPaint Skills Tho)

And if you need my forums link or code, just ask.
Thanks!


RE: Postbit border. - Ad Bakker - 07-20-2015

Add a border to class .post_content in global.css:


.post_content {
    padding: 9px 10px 5px 10px;
    border: 2px solid red
}
This gives you a 2 pixels wide red border around your post contents.

If you only wish to have a border on the left:

.post_content {
    padding: 9px 10px 5px 10px;
    border-left: 2px solid red
}



RE: Postbit border. - Xenonzo - 07-20-2015

(07-20-2015, 11:46 AM)Ad Bakker Wrote: Add a border to class .post_content in global.css:


.post_content {
    padding: 9px 10px 5px 10px;
    border: 2px solid red
}
This gives you a 2 pixels wide red border around your post contents.

If you only wish to have a border on the left:

.post_content {
    padding: 9px 10px 5px 10px;
    border-left: 2px solid red
}

Thank you so much! It worked perfectly.

Now another question, check where these red lines are, how would I go about this?
and for #2, how would I even out that little bump.
[img]-snip-[/img]