Jump to content
Sign in to follow this  
ryanreed423

Fixed Nav Bar not on top of screen.

Recommended Posts

ryanreed423    0
ryanreed423

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!

Share this post


Link to post
Share on other sites
Rob    547
Rob

Did someone add this:

body {
    font-size: 14px;
    line-height: 21px;
}

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.


Former PageLines Moderator, Food Expert and Raconteur

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Similar Content

    • khat
      By khat+
      I think I may have installed pagelines pro incorrectly, and then used features incorrectly. I installed first platforms framework theme and then the child, thinking I could do setup for child later. I tried to set up a background image, and tried custom css feature in pagelines dashboard. I had mistakes in my css, and just thought that if I deleted the info in the css custom feature in pagelines dashboard that the new information would overwrite the old info. The background image didn't respond at all, probably because I didn't have the child directory renamed. I then tried to use the LSS plugin to create css and added more css, possibly, somewhere -sigh-. I never did change the background image and get it placed properly. I used a workaround and in nested containers I placed a background image which worked well enough, so I moved on to try to create my nav bar/ menu bar. When I go to the Menus panel, there is NO area where I can place a menu on a page. I have read and reread and re- re- reread the instructions for placing a menu. I've used the pagelines editor to place a menu, however only HOME shows up. I've been at this for many hours. I've since uninstalled all of my pagelines items and reinstalled, thinking that it would restore all my changes to default, but no, it is still all there, with all my unresolved issues. I am completely at a loss as to what to do next.
    • bnapoli
      By bnapoli+
      http://731.34b.myftpupload.com/ this website is using the NavPro navigation in Platform 5. It has a lot of menu items, so it breaks to two lines when the window is sized down. What is the media query to make the navigation either a) switch to "mobile mode" at a higher width, or b ) expand the nav into two lines. Thanks
    • yemoonyah
      By yemoonyah+
      I just installed and added the Flipper section to my home page and it makes my navigation/menu bar items disappear.
      They do show up again when scrolling down and everything seems normal on the other pages.
      http://yemoonyah.com
      Thanks.
       
    • ericbc
      By ericbc
      I have the WHP6 theme (not sure if I needed it). But heres my question....I want to change the font in the navigation bar and it doesn't give me that option. I also want to change the size of the nav bar (height).
    • hackworth
      By hackworth
      I'm working in the demo and I set the nav bar bg image and nothing happens. What am I doing wrong?
       
      http://hackworth.pagelines.net/
×