Opened 7 years ago
Closed 7 years ago
#3278 closed enhancement (fixed)
Include view name as body class
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | 2.5.14 |
| Component: | API - Topic Views | Keywords: | |
| Cc: |
Description
Currently bbp_body_class checks if it is a single view, and if it is, adds the class bbp-view, which helps identify a singular view, but not which view.
Extending this to also include the current view, for example bbp-view-${view-slug} would allow for more direct targeting of classes for styling and conditional JavaScript.
Change History (2)
Note: See
TracTickets for help on using
tickets.
In 6930: