MyBB Community Forums

Full Version: How can I pad the post body?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I would like to add some padding to the post body so that the text doesn't go so close to the edges, but I can't figure out where to edit the code. I've tried adding to the padding in the post_body in the css, but that isn't affecting it. Any help would be appreciated.
You talking about this"

Templates & styles > Themes > (your theme) > #content > (change the width to a diff % .. try 90%)
(2009-12-29, 04:11 AM)proautotint Wrote: [ -> ]You talking about this"

Templates & styles > Themes > (your theme) > #content > (change the width to a diff % .. try 90%)

No, I am referring to the actual posts - where the message body is. I need to add some padding so that the text doesn't run up against the table's border.
Oh. Just go to .post_body and add this in the Extra CSS Attributes: "padding: 5px;"

And change the value to your liking.
(2009-12-29, 06:17 AM)proautotint Wrote: [ -> ]Oh. Just go to .post_body and add this in the Extra CSS Attributes: "padding: 5px;"

And change the value to your liking.

As I said in the OP, I've tried changing the padding in the post_body's css, but it doesn't affect the post padding.
Not sure if I understand exactly what you mean ...
Are you using the default template? I'm currently using a custom template.
I set the padding to 100px and this is what happened. Not sure what you are talking about ........

[Image: 2e2q89y.png]
I just went to my template's .post_body in global css and changed the padding from 5px to 35px and this is what it did http://houstonconnection.net/unhealthy-h...-t-59.html
(2009-12-29, 06:49 AM)dastaten Wrote: [ -> ]Are you using the default template? I'm currently using a custom template.

no im using a custom template

http://animalrescueforums.com/forums
Pages: 1 2