milohuang / reverie

Reverie is a versatile HTML5 responsive WordPress framework based on ZURB's Foundation.
http://theakiba.com/reverie/
MIT License
918 stars 196 forks source link

"sticky" class doesn't work #275

Open tnog opened 10 years ago

tnog commented 10 years ago

Based on the issue here: https://github.com/zurb/foundation/issues/3608

The .sticky class on div wrapping .top-bar class nav won't work correctly, the nav menu won't stick to top of browser when scrolling down.

The solution is to update the reverie/js/foundation.min.js to the same version as that found in 'bower_components/foundation/js/foundation.min.js`

After testing, it works fine.

gpspake commented 10 years ago

I just saw this. I submitted a pull request yesterday to fix the typo ( See #276 ). This has obviously been fixed in Foundation so the ultimate solution would be to update the file but this fixes the issue without having to worry about breaking anything.