jQuery(?) fade effect override

AI-generated summary

The discussion revolves around overriding the jQuery fade effect in Discourse. pnoeric wants to change the fade effect from the ‘flash’ color to white, as their custom background color is white. geoff777 provides a link to a related topic on removing the fade-out effect. However, Falco clarifies that it’s a pure CSS animation defined in discourse.scss, which can be overwritten with custom CSS in a theme. pnoeric appreciates the answer and mentions that they were looking in the wrong place.

Hi, when you nav to a specific post, the UI highlights the DIV for a second. The problem is that I’ve changed the default background color of that div to white, which is now different from the site background color.

Can someone tell me how I can override the existing jQuery fade (which gently fades from the ‘flash’ color to the background color)? I want to change it to go from the ‘flash’ color to white. I looked in the code but haven’t been able to find this yet, so I’m not sure if I can override with a plugin or what.

https://meta.discourse.org/t/how-to-remove-the-fade-out-effect-when-you-enter-a-topic/123276

It’s not a jQuery effect, but a pure CSS animation.

Here is the definition:

You can overwrite it with custom CSS in a theme.

Perfect, thanks!! No wonder I couldn’t find it in the templates, I wasn’t looking in the stylesheets folder. Dumb me :wink: