You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.
This issue appears to be occurring again. When the sticky nav bar is set to "top" it jumps to the top of the document regardless of whether or not the admin bar is present.
Notably this occurs on scroll and not when the menu is first loaded.
@steelwolf
I have to solve this problem myself
add $data_margin_top = (is_admin_bar_showing()) ? '2' : '0'; <div data-sticky data-margin-top="<?php echo $data_margin_top; ?>" style="width:100%" data-top-anchor="header-media:bottom" data-btm-anchor="footer-container:bottom">
If sticky is used on the nav bar, the admin bar overlaps it.
fix applied in _wp-admin.scss
body.admin-bar.f-topbar-fixed{
.sticky.fixed {
margin-top: 32px;
}
}
The text was updated successfully, but these errors were encountered: