Just an update that using the following code in functions.php worked for me:
add_filter(‘show_admin_bar’, ‘__return_false’);
For anyone who wants to use this solution, just create a file named functions.php, add the above code, in your child theme folder and upload to your server.
Please correct me if there is a better way to achieve this.
The option to remove the BuddyPress admin bar is in the settings menu.
Visit “yoursite.com/wp-admin/admin.php?page=bp-settings”
Under “Main Settings” next to “Toolbar” uncheck “Show the Toolbar for logged out users”
– Save Settings
– View/Refresh Page
– Clear Browser’s Cache If Needed