/*Reverse sticky header*/
  1. Home
  2. Knowledge Base
  3. Customizations
  4. CSS
  5. Mobile View: How to Change the Color of the “Leave Group” Button on the Group Directory

Mobile View: How to Change the Color of the “Leave Group” Button on the Group Directory

By default, the color of this button relies on the color that has been set under the Theme Option > Colors > Secondary Button Background Color – Hover. The BuddyBoss Platform/Theme does not have an option to just change the color of this button without affecting other buttons on mobile view. You can use the following CSS code.

Please follow the steps below:

    1. Go to BuddyBoss – Theme Options

    2. Under Custom Codes, enable CSS

    3. Append the following:

@media screen and (max-width: 767px) { #groups-list.bp-list .item-entry .list-wrap .group-footer-wrap .footer-button-wrap .group-button:not(.generic-button):hover { /* Add your desired hover styles here */ background-color: #FF0000; } }

    4. Save changes.

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


Screenshots

Without Code:

With Code:

Was this article helpful?

Related Articles

Contents

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.

"*" indicates required fields

Get Started

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

Name*