What is the CSS Code to Ignore Specific Messages?

I am curious as to what if any CSS code there is that I can use to have the OBS Chat not display specific messages. I know that the following works for ignoring all messages from specific aliases:

.chat_line[data-nick="nick_to_ignore"] {  
    display: none; 
}

I have tried the following to ignore specific messages, however, it does not appear to work:

.chat_line[data-message="text_to_ignore"] {
    display: none;
}

The reason I am asking: I am forced to use “version 2” of the OBS Chat due to the fact that the latest version does not properly discard of partial lines at the top of the chat. Doing so, however, I have lost the “fade out” and “ignore bots” functions of the latest version. I have been able to figure out how to get the fade out effect in the CSS code, as well as the code for ignoring certain users (such as my bot). The only thing left is to get the Chat Window to ignore !Trigger commands from my viewers.

This topic was automatically closed after 14 days. New replies are no longer allowed.