Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to change the notifications background color when there is new notifications


r-a-y
Keymaster

@r-a-y

Make a copy of the bp_adminbar_notifications_menu() function (located in /buddypress/bp-core/bp-core-adminbar.php) and add a check to see if there are any notifications to the main list item, if there are, output a CSS class for the list item.

You’ll need to override the default notifications menu in the BuddyBar.

Read this guide to find out how to modify the BuddyBar:

https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

Skip to toolbar