[wp-trac] [WordPress Trac] #16969: Stick admin bar to the top of the page, not the window
WordPress Trac
wp-trac at lists.automattic.com
Fri Mar 25 21:52:50 UTC 2011
#16969: Stick admin bar to the top of the page, not the window
--------------------------+------------------------------
Reporter: scribu | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: UI | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by WraithKenny):
For a work-around, wrapping the #wrapper in another element, you can set:
{{{
<div style="
position: fixed;
top: 28px;
bottom: 0pt;
left: 0pt;
right: 0pt;
overflow: auto;">
<div id="wrapper">...</div>
</div>
}}}
Or using an id and a style element via the callback for
`add_theme_support( 'admin-bar', array( 'callback' =>
'admin_bar_bump_callback') );`
--
Ticket URL: <http://core.trac.wordpress.org/ticket/16969#comment:4>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list