Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4836 closed enhancement (fixed)

add body class: buddypress

Reported by: modemlooper's profile modemlooper Owned by:
Milestone: 1.7 Priority: normal
Severity: minor Version: 1.7
Component: Core Keywords:
Cc:

Description

So styling can be specific to BuddyPress pages

Change History (4)

#1 @johnjamesjacoby
10 years ago

  • Milestone changed from Awaiting Review to 1.7

#2 @johnjamesjacoby
10 years ago

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

(In [6803]) Add "BuddyPress" to body class if on a BuddyPress page. Fixes #4836.

#3 @johnjamesjacoby
10 years ago

(In [6804]) Reorder main BuddyPress body class addition. See #4836.

#4 @hnla
10 years ago

Good addition - just added a 'bp-active' body class to my skeleton framework yesterday, should have occurred to have core handle it :)

One thing though can we not camelCase it? 'buddypress' rather than 'BuddyPress' camelcasing is a nuisance and as a convention generally avoided in frontend code as is underscore separation

Note: See TracTickets for help on using tickets.