MyBB Community Forums

Full Version: Shortening the width of the entire thread/msg page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Hello all. I'm a new My-BB person and getting familiar with it, just downloaded it a couple weeks ago. Don't have a website yet and just using "localhost" for the time being with Xampp on my own computer.

I've been trying to follow my way through the PHP source code to get to the variables that need to be changed for what I want to do, but I either simply can't find the one place or they are located in multiple places/lines in the source code. So after a while of all this searching I just figured hey I'll ask here.

I want to shorten the width that is taken up on a webpage, of when the list of forum threads is displayed and of when message postings/content are displayed. I guess also of when several things are displayed but those 2 things are the biggest on my mind. Instead of the width being 100%, I want to shorten it to 90% or 85% or just whatever, so that as an example, this message posting you're reading right now wouldn't go from edge-to-edge of the browser window or the monitor. For my own programming exercise, I will later add this option to what a user can set for themself, but for now I just want to be able to change the PHP source file(s) to some constant that's less wide than 100%.

I've come across these two threads....
http://community.mybb.com/thread-75337.html
http://community.mybb.com/thread-75643.html

....but those width changes are just for specific elements like boxes and fields. And I'm interested in the entire page to make it less spread out so it's not so wide.
You can set the width of the container element in the css style sheets.