Opened 12 years ago
Closed 12 years ago
#5848 closed enhancement (fixed)
Add group slug to body classes
| Reported by: | hnla | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | lowest | Milestone: | 2.2 |
| Component: | Core | Version: | |
| Severity: | minor | Keywords: | has-patch |
| Cc: | hnla |
Description
Allow simple style targeting of particular groups to compliment any templating options we have - partly prompted by forum post where user needed to apply styles to a specific group but couldn't easily.
Example patch simply checks for bp_is_group() in bp body classes group section and adds the group name (slug)
Wondering though whether there is a reason this hasn't been done before?
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Add group slug to body classes