WordPress.org

Ready to get started?Download WordPress

Forums

"header" width ? (3 posts)

  1. roeiboot
    Member
    Posted 4 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.

  2. Samuel Wood (Otto)
    Tech Ninja
    Posted 4 years ago #

    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:

    position:absolute;
    width:98%;
    left:1%;

    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.

  3. roeiboot
    Member
    Posted 4 years ago #

    thanks Otto, any chance you would also know to put it in the same location for both the forum and WordPress ?

Topic Closed

This topic has been closed to new replies.

About this Topic