1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Extending the navigation bar to page width.

Discussion in 'Styling and Customization Questions' started by nick123, Sep 5, 2013.

  1. nick123

    nick123 Member

    Hi ladies & gents.

    Just creating a skin and having some trouble.


    I am attempting to make the top navigation bar go all the way across (page width), if you all understand what I mean. The skin is pretty much the default Xenforo at the moment, so I have no extra code.

    I however, want to keep the main body of the skin in the same place (the white part), so that the navigation bar is longer than that and wont (I think) just be a case of editing the page width controller.

    Any help will be greatly appreciated, as I have been fiddling with it for ages but cannot find a solution. Thanks in advance!
  2. Steve F

    Steve F Well-Known Member

            max-width: 100%;
  3. nick123

    nick123 Member

    Where do I put this? Apologies. I am a noob.
  4. Jeremy

    Jeremy Well-Known Member

  5. nick123

    nick123 Member

    It just seemed to budge the right of the navigation bar to the right slightly. I want the navigation bar to go 100% across the page, as in so their is no sides to it at all.
  6. Steve F

    Steve F Well-Known Member

    There must be either a margin or padding causing it. If you could share a link I can take a look.
  7. nick123

    nick123 Member

    I added it on a default skin as well but it didn't work. I'm not sure whether people are grasping what I am going for (apologies if you are and I am just dumb). Example on another skin: http://8wayrun.com/

    The navigation bar goes all the way across the page. Any ideas?

Share This Page