Hello @kgpthemex,
Thanks for writing in!
Please be informed that what you are trying to do is considered custom modifications to the theme and this is beyond the scope of our support. What we can only do is to guide you in getting you started with the changes that you want. First, what you are trying to accomplish requires a template customization, we would highly to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is set up, please review how we recommend making template changes in Customization Best Practices.
By default, we are using this PHP code in the theme to load the styling of the built-in CSS for Buddypress:
// Styles
// =============================================================================
function x_buddypress_enqueue_styles( $stack, $ext ) {
wp_deregister_style( 'bp-legacy-css' );
wp_deregister_style( 'bp-admin-bar' );
wp_enqueue_style( 'x-buddypress', X_TEMPLATE_URL . '/framework/dist/css/site/buddypress/' . $stack . $ext . '.css', NULL, X_ASSET_REV, 'all' );
}
add_action( 'x_enqueue_styles', 'x_buddypress_enqueue_styles', 10, 2 );
To override this function so that the styles will not be loaded, you will simply remove it by adding remove_action()
function in your child theme. Check out this codex:
Note: We are unable to provide support for customizations under our Support Policy. If you are unfamiliar with code and resolving potential conflicts, you may select our One or Care service for further assistance.
Best Regards.