Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: plugin-template.php using member theme?


Burt Adsit
Participant

@burtadsit

Nope. Sorry. The directories all have their own css you can skin. bp has a site-wide.css file you can drop into your theme in /themes/<your theme>/css/site-wide.css

In bp-core-cssjs.php which fires up the css and js for bp is this fn:

function bp_core_add_css() {

// Enable a sitewide CSS file that will apply styles to both the home blog theme

// and the member theme.

if ( file_exists( WP_CONTENT_DIR . ‘/themes/’ . get_blog_option( 1, ‘stylesheet’ ) . ‘/css/site-wide.css’ ) )

wp_enqueue_style( ‘site-wide-styles’, WP_CONTENT_URL . ‘/themes/’ . get_blog_option( 1, ‘stylesheet’ ) . ‘/css/site-wide.css’ );

wp_print_styles();

}

add_action( ‘wp_head’, ‘bp_core_add_css’ );

Skip to toolbar