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

Fixed Menu Issues #260

Closed bybe closed 10 years ago

bybe commented 10 years ago

When using contain-to-grid fixed with the header for a sticky fixed menu two problems occur:

  1. The container loses its margin due to the menu now being fixed and not relative position, this is resolved by using .f-topbar-fixed > .container {margin-top:2rem;}.
  2. The other problem is only visible when logged in as admin, basically the admin bar covers the fixed menu. This can be fixed by using a margin so both bars are visible: .admin-bar > .fixed{margin-top:2rem;}