MyBB Community Forums

Full Version: Header size and width problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
yes so that there is nomore white around it
Oh... You need to put the logo tag before the container id. Move it at the first line in your header template.

So, the code will be like this:

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
<div id="container">
.......................
.......................
okay now its okay but the rest is not right anymore as you can see Smile
Why do you move the header id? Revert the header template to original (by click Options -> Revert to Original). Move only the logo class at the very first of the entire code:

<div class="logo"><a href="{$mybb->settings['bburl']}/index.php"><img src="{$theme['logo']}" alt="{$mybb->settings['bbname']}" title="{$mybb->settings['bbname']}" /></a></div>
like this right?
Right Smile Now open up your global.css. Create a new class there (in advanced mode):

.logo {
margin: auto auto;
}

Then, change the container id width into 960px.
okay done that but the logo is still not right Smile
1. You didn't add the class yet. You have this class in your global.css:

.logo {
text-align: center;
}

Just add the margin there:

.logo {
text-align: center;
margin: auto auto;
}

2. Your container width still 1000px.
yes i did its there and i changed it also to 9610px but then its the same well going to sleep now i come back here tommorow
and im using Firefox maybe that has something to do with it
nevermind its already fixed vethank you very much Smile last thing is there maybe a good tutorial to make your own theme a very structured one?
Pages: 1 2