#4281 closed enhancement (fixed)
Add additional body class for user/account/profile screens
Reported by: | hnla | Owned by: | |
---|---|---|---|
Milestone: | 1.6 | Priority: | normal |
Severity: | minor | Version: | 1.6 |
Component: | Core | Keywords: | has-patch |
Cc: | hnla |
Description
It's a major chore when trying to style member account screens at a generic level as we have no simple means of hooking to them as one e.g
body.bp-user {add styles affecting any action screen/component}
Any chance we could slip this patch through it should be non destructive and not cause any issues and make life a lot easier.
if ( bp_is_user() )
$bp_classes[] = 'bp-user';
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
This is a good suggestion, but you should have suggested it before we went into beta!
We'll make an exception this time, because you're right that it'll make life a bit easier.