MyBB Community Forums

Full Version: Header Width
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

http://puu.sh/4QZoV.jpg

I've tried editing the width of the website. However, the header (where the mybbgamer image is), I can't seem to find how to edit. Any ideas?

Thanks.
It would be great, if you can provide url, so we can see the code Smile
(2013-10-15, 08:31 PM)Jovan J. Wrote: [ -> ]It would be great, if you can provide url, so we can see the code Smile

http://dirtgaming.com/

Thanks Smile
Assuming of your code, class or id, doesen't exists for your logo and below navigation. You should define it in global.css and in your templates.

Read more about class and id, if you're not familiar:

http://www.w3schools.com/css/css_id_class.asp
I do believe a class defines a single element while a ID defines everything that is within that element correct me if im wrong
You are wrong.

A class is a logical grouping of similar features, for example in MyBB the .thead class refers to all of the headers for the boxes (such as the Quick Reply box's title), and allows them to all be styled the same.

An ID is a unique element that there should (and for the HTML to be valid, must) only be one of on a page. For example, typically the logo is identified by the "logo" ID, and there's normally only the one at the top of the page (why MyBB made it a class instead of an ID I'll never know).

Rule of thumb: If there's only ever one on the page, use an ID. If there will be more than one, use a class. Always use names that describe what it is, not how it looks (i.e. "boxTitle" vs "blueGradient" because that just makes more work for everyone when you change it to green and flat).
I believe its the #container or .container element you need to edit in your style sheet. Change the width there.