Jump to content

- - - - -

Fixed Nav Bar not on top of screen.

nav bar

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1 ryanreed423†



  • DMS Subscriber†
  • 1 posts

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

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.