Jump to content

- - - - -

Fixed Nav Bar not on top of screen.

nav bar

  • Please log in to reply
1 reply to this topic

#1 ryanreed423



  • Members

  • 1 posts
  • Country: Country Flag

Posted 03 January 2013 - 10:32 PM

My fixed navigation bar no longer fits at the top of the screen on pages. Other than the home page, my bar does not rest snug at the top. Could someone please advise on how I may correct this issue? Thanks!

#2 Rob


    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 03 January 2013 - 11:11 PM

Did someone add this:

Please Login or Register to see this Hidden Content

Those two are not normally part of the Body tag, and the blank space you're seeing other than the homepage is picking up the line height.  I use only
padding-top : 0;  in the body tag, ensuring everything is padded to the top.

Also tagged with one or more of these keywords: nav bar