BuddyPress CSS Should Be Included As Its Own File

Posted in: Newspaper
Post count: 37

So when I was working on a new site for a local city news, I was working with the mobile theme plugin and realized that bbPress had its styles dequeued (the ones from the theme which I don’t believe should be done) which was fine, however I then also realized that there was no CSS file for BuddyPress which prompted me to wonder why the BuddyPress CSS is not properly loaded in its own file.

Doing so would allow us to load that one file in the mobile theme instead what I will need to do is export the CSS and load it in its own file on BuddyPress Pages. Also its not proper to load CSS that overrides BuddyPress in the main css file.

BuddyPress Docs
https://codex.buddypress.org/themes/theme-compatibility-1-7/add-buddypress-styles-to-a-theme/
> If you want to ship your theme with extra styles to support BuddyPress add the BuddyPress styles to the buddypress.css file and include it in your theme. Do not add the BuddyPress styles to your style.css file. This will ensure the styles are only loaded when BuddyPress is activated and will override the default styles supplied by the plugin.

Post count: 37

Additionally, there should be an option or a check performed that if BuddyPress is enabled (and you have the login/logout item enabled) it will link to the /members/name/profile instead of /author/name/ this makes more sense than to link people to their author page which is likely going to be empty.

BuddyPress template lacks support for custom sidebars, (or no sidebar for that matter).

Post count: 22421

Hello,

Thank you for your suggestions. We will change the css implementation in our theme in the coming updates and break the css in different files.

Thank you for your suggestion.

Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.