MyBB Community Forums

Full Version: Adding a top nav..
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi, I was adding a top navigation to my forum. The problem I ran into is it won't expand to the full width of the window and doesn't go to the top of the page... I was wondering if someone could help me figure out this problem. See screen shot below to see exactly what is wrong.

[attachment=15802]
Post the CSS code for the navbar and I should be able to tell you whats wrong.
Well this is the coding for it that is located outside the container for it.
<div class="thead"><strong>Testing</strong></div><br />
Ok here are a couple things you could try:

Go to ACP > Themes > {Your theme} then go to "body" and check and see if there is any sort of padding in its CSS, if there is remove it. Padding the body pushes all the content of the site in on itself.

Check out my site: http://systemfreeze.com, the navmenu you see below the header can streched out to full lengh touching end to end I just chose not to make it that way, but is that what you want because I will suppy you will the coding.
Wow, I really feel dumb I'm not sure how I over looked that. Thanks for the help!
No problem glad to help out.
You will also have to add margin: 0; to the body section. Wink