Skip to:
Content
Pages
Categories
Search
Top
Bottom

if bp_message_thread_unread_count is empty

  • Avatar of Shmoo
    Shmoo
    Participant

    @macpresss

    Just curious if somebody could help me with a line of PHP code.

    Trying to make a pulse animation for new messages and I need a way to hide the unread class if the number is empty.

    This is the code I have right now.

    http://chopapp.com/#buya3shr

Viewing 1 replies (of 1 total)
  • Avatar of Shmoo
    Shmoo
    Participant

    @macpresss

    I found a solution with CSS.

    tbody tr .unread p.unread -> pulse dot
    tbody tr .read p.unread -> display none

    inbox pulse

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.