Introduction
BuddyBoss does not provide a built-in option to change the text color of the Jetpack Single Sign-On (SSO) message on the WordPress login page. This message typically reads: “You can now save time spent logging in by connecting your WordPress.com account to YOURSITEURL.” If you are using Jetpack, you can modify the appearance of this text by adding a small custom function to your active theme. This guide explains how to change the login text color for Jetpack SSO.
Custom Workaround
Before proceeding, make sure you have a complete site backup.
- Go to Appearance > Theme Editor in your WordPress admin dashboard.
- Under Select theme to edit, choose your active theme (preferably a BuddyBoss Child Theme), then click Select.
- From the Theme Files list, open Theme Functions (functions.php).
- Add the following code just before the closing PHP tag ?>:
function bb_jetpack_login_color() { ?>
<style type="text/css">
#loginform #jetpack-sso-wrap p {
color: white !important;
}
</style>
<?php }
add_action( 'login_enqueue_scripts', 'bb_jetpack_login_color' );- Click Update File to save the changes.
Troubleshooting and FAQs
Q: The text color didn’t change.
A: Make sure Jetpack SSO is enabled and that the code is added to the active (child) theme’s functions.php. Clear any cache and refresh the login page.
Q: Can I change the font size or style as well?
A: Yes. You can add additional CSS rules inside the same block, such as:
font-size: 14px;
font-weight: 600;
Q: Will this affect other login page text?
A: No. This CSS only targets the Jetpack SSO message.
Q: Can I revert this change easily?
A: Yes. Simply remove or comment out the code from functions.php and save the file.