Support » Themes and Templates » “header” width ?
7 years ago
so how do i make a “navigation header” (it’s an external .php i call upon in my header.php) as wide as the screen…?
it looks like http://everythingberry.net/blog and it should look like http://everythingberry.net/forum …
(talking about the grayish bar with “Home, Forum, etc”…)
thanks in advance.
Your #navlist element is inside the body, which has a fixed width and positioning. So, you need to position the #navlist on the page absolutely instead.
Add these to your #navlist’s css code:
That’ll take it out of the flow and force it to start on the left side of the page. I gave it a 1% edge on both sides, to prevent it from creating a horizontal scroll bar by being full page width.
thanks Otto, any chance you would also know to put it in the same location for both the forum and WordPress ?