WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#15455 closed defect (bug) (fixed)

Add admin-bar class to body_class

Reported by: markjaquith Owned by:
Milestone: 3.1 Priority: high
Severity: normal Version:
Component: Themes Keywords:
Focuses: Cc:

Description

Some themes that use absolute top CSS positioning will need tweaks to work with the new admin bar. We should add an "admin-bar" class to body_class() so they can update their CSS to account for the height of the bar.

Change History (2)

#1 @markjaquith
7 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [16432]) Add admin-bar class to body_class() if the admin bar is showing. fixes #15455

#2 @markjaquith
7 years ago

(In [16432]) Add admin-bar class to body_class() if the admin bar is showing. fixes #15455

Note: See TracTickets for help on using tickets.