Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4836 closed enhancement (fixed)

add body class: buddypress

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

Description

So styling can be specific to BuddyPress pages

Change History (4)

#1 @johnjamesjacoby
14 years ago

  • Milestone Awaiting Review → 1.7

#2 @johnjamesjacoby
14 years ago

  • Resolution → fixed
  • Status new → closed

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

#3 @johnjamesjacoby
14 years ago

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

#4 @hnla
14 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.