csssassdiscourse

Remove the fading background in a Discourse topic


I am customizing a theme in a blog based on the Discourse engine. Now each post (or "topic") loads with a blue background, which quickly fades to the main background color. You can see an example here.

I was told, that this is caused by this CSS. So I wrote the following in my custom CSS field:

.topic-body .cooked.highlighted {
    animation: none;
}

But this has no effect. What have I done wrong?


Solution

    1. log in as the admin and go to settings
    2. Click on customize and then click on your theme
    3. Now find the option Edit CSS/HTML and click on it
    4. In the CSS option add the following code
    .highlighted{
         animation:none!important;
    }