1. Home
  2. Knowledge Base
  3. Customizations
  4. PHP Functions
  5. How to Change the Login Text Color for Jetpack SSO

How to Change the Login Text Color for Jetpack SSO

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.

  1. Go to Appearance > Theme Editor in your WordPress admin dashboard.
  2. Under Select theme to edit, choose your active theme (preferably a BuddyBoss Child Theme), then click Select.
  3. From the Theme Files list, open Theme Functions (functions.php).
  4. 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' );

Note: Replace white with your desired color (e.g., #000000, #ff6600, or rgb(255,255,255)).

  1. Click Update File to save the changes.

Note: Modifications are typically considered custom work, but we are making an exception in this case. Please review the BuddyBoss Support Policy.

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.

Was this article helpful?

Related Articles

Subscribe to Our Newsletter

Stay In Touch

Subscribe to our Newsletter, and we’ll send you the latest news from BuddyBoss

  • This field is hidden when viewing the form
  • This field is for validation purposes and should be left unchanged.

To speak to our Agency consultant, fill in the form found at our Contact Page.

  • Get Started

    Enter your name and email address to get started with your project...

  • This field is for validation purposes and should be left unchanged.