Reply To: not recently active
stylesheets are a client side processed file, you cannot place server side code such as PHP in them. To run code such as that filter you either run it from a plugin, your themes functions.php file or from bp-custom.php located in the plugin folder root (and user created – it doesn’t exist by default)