MyBB Community Forums

Full Version: I would like help with my postbit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have a problem with the post as it appears on the web.. The print is far too close to the edges like there is a margin 0 somewhere  This is what it looks like:


It would be okay if I could find a way for all the posts to center but I am not sure where that is either. Please help me, I am getting busy especially with school kids and I want it presentable and easily read. https://www.ebook-mecca.com

Thank you
On this theme you're using...what do have for post_content in the global.css ?

The default value is :

.post_content {
	padding: 9px 10px 5px 10px;
}

and yours looks to be:

.post_content {
    padding: 9px 10px 5px 10px 16px;
}

striked out, but also incorrect syntax.
Well I removed it but unfortunately it has not changed. I am thinking it has to do with something in the classic postbit but I am not sure. I just don't know
It looks fixed now. You're using horizontal layout not classic.
Yes it appears to be fixed... but I have defaulted the font to center in the postbit.. I cant use the classic layout, I tried until I remember setting my db not to display classic because of XThreads. Thank you for the fix Ashley1!

but why does the default have 10px twice?  I am curious because I do learn with the answer LOL
https://www.w3schools.com/css/css_padding.asp

So, here is how it works:
If the 
padding
[size=undefined]
 property has four values:[/size]
  • padding: 25px 50px 75px 100px;
    • top padding is 25px
    • right padding is 50px
    • bottom padding is 75px
    • left padding is 100px
If the 
padding
[size=undefined]
 property has three values:[/size]
  • padding: 25px 50px 75px;
    • top padding is 25px
    • right and left paddings are 50px
    • bottom padding is 75px
If the 
padding
[size=undefined]
 property has two values:[/size]
  • padding: 25px 50px;
    • top and bottom paddings are 25px
    • right and left paddings are 50px
If the 
padding
[size=undefined]
 property has one value:[/size]
  • padding: 25px;
    • all four paddings are 25px
Thank you so much now I have a good understanding as to why it is duplicated. each line represents top right bottom left. so if I want to configure the padding I could use those numbers but I can adjust them too right? Thank you Ashley1

I am going to close down.... thank you all for your help...