1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. How to Change the Color of the Members’ Card Connect Button on BuddyBoss

How to Change the Color of the Members’ Card Connect Button on BuddyBoss

Introduction

The default Connection-Request icons on member cards use preset colors. To better match your site’s branding, you can override those colors with a small snippet of custom CSS.

Custom Workaround

  1. In your WordPress admin, go to BuddyBoss > Theme Options.
  2. Under Custom Codes, enable CSS.

Append the following code:

.bb-icon-connected,

#buddypress .button-wrap.member-button-wrap .generic-button .friendship-button.not_friends i:before {

  color: #009300;

}

.bb-icon-connection-request,

#buddypress .button-wrap.member-button-wrap .generic-button .friendship-button.is_friend i:before {

  color: #009dff;

}
  1. Click Save Changes.

Note: Any custom code is considered “custom work.” You may review our Support Policy for details: https://www.buddyboss.com/support-policy/

Troubleshooting and FAQs

Q: My icons didn’t change color—what can I check?
A: Clear any site- or object-level cache (including CDN), then reload your member directory page.

Q: I’d like different colors—how do I choose new ones?
A: Simply replace #009300 and #009dff with your preferred hex color codes in the CSS snippet.

Q: Other styles are overriding my new colors—how can I ensure mine apply?
A: Increase CSS specificity (e.g., prefix with body) or add !important after each color: declaration.

Q: Can I target only the “Follow” icon or only the “Request” icon?
A: Yes—use just the .bb-icon-connected selector for followers or .bb-icon-connection-request for pending requests in your CSS.

Q: How do I undo these changes?
A: Remove or comment out the CSS code in BuddyBoss > Theme Options > Custom Codes and save; the icons will revert to their defaults.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Support

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.

Not recently active