[wp-trac] [WordPress Trac] #30055: Admin Bar overlapped header/content instead of pushing it down

WordPress Trac noreply at wordpress.org
Fri Jan 16 13:00:12 UTC 2015


#30055: Admin Bar overlapped header/content instead of pushing it down
--------------------------+------------------------------
 Reporter:  Sendoku       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Toolbar       |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  template
--------------------------+------------------------------

Comment (by valendesigns):

 Replying to [comment:4 SergeyBiryukov]:
 > I've found that adding `position: relative` for `body` or `html`
 generally helps for issues like this.
 >
 > Should we consider adding that to `admin-bar.css`? Would it cause any
 repercussions?

 In order to properly test that scenario we would need some offending code,
 but it seems likely it will solve it if it's a fixed or absolute position
 issue and the parent is not relative. I'll try and break it in a theme
 with various positioning of the header and see if your fix will work and
 if there are any obvious repercussion to adding it.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/30055#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list