Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,840
- How-to & Troubleshooting
- 129,881
- Creating & Extending
- 25,912
- Requests & Feedback
- 9,553
- Third Party Plugins
- 9,834
- Showcase
- 3,316
- Ideas
- 1,402
- Miscellaneous
- 9,184
-
Have a look at some of the classes applied to body — there’s no single class being used for BuddyPress pages, but the set is quite small, and you should be able to base your selectors on them to capture whether you are on a BP page or not:
.directory …. , .my-account … , etc.
And, if you are using a pre-processor such as LESS or SASS, it makes it much easier to write nested CSS like this