y7kim / agency-jekyll-theme

Agency Theme for Jekyll
Apache License 2.0
868 stars 2.02k forks source link

Navbar doesn't appear fast enough #51

Closed jellysquider closed 7 years ago

jellysquider commented 7 years ago

I noticed an issue with navbar on the demo example (and later on my own website). The transition to "Services" when scrolled down by mouse or by keyboard arrows is not smooth enough.

I believe the issue is that it doesn't disappear fast enough. Check out my screenshot: NavBar covers the Header.

navbar snail

Compare it with original Bootstrap theme:

original navbar

kimbergee commented 7 years ago

@jellysquider Did you figure out your issue? You can change when the navbar appears by going into the cbpAnimatedHeader.js file. It's in the js folder. I found that changing it from 300 too 100 works well.

TT-- commented 7 years ago

I also found that value of 100 is consistent with the source theme and have used that in the above PR.