By default, the platform does not have this option. You can use the following function code.


Please follow the steps below:


1. Go to Appearance > Theme Editor.

2. Under Select theme to edit, choose (BuddyBoss Child/whatever theme is active), then click Select.

3. Below Theme Files, select Theme Functions (functions.php).

4. Append the code just before the closing PHP tag “?>”:


function bbp_cover_image_file_size( $fileupload_maxk, $type ) {
    if ( 'avatar' == $type ) {
        $fileupload_maxk = 10485760; // in bytes, 10MB
    }
    if ( 'cover_image' == $type ) {
        $fileupload_maxk = 10485760; // in bytes, 10MB
    }
     return $fileupload_maxk;
}
add_filter( 'bp_attachments_get_max_upload_file_size', 'bbp_cover_image_file_size', 10,2 );


5. Click Update File to save the changes.


This should increase your upload to 10MB, feel free to change the value to your preference. You can use this site to convert your desired MB to bytes: https://www.gbmb.org/mb-to-bytes


Note: Any modifications are considered as custom work already. Know more about our Support Policy here: https://www.buddyboss.com/support-policy/