# CSS no longer applied to embedded topics

**URL:** https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514
**Category:** Bug
**Created:** [June 9, 2018, 4:51pm UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514 "2018-06-09T16:51:15Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tkrunning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tkrunning/32/119481_2.png) [@tkrunning](https://meta.discourse.org/u/tkrunning)
#### Post date: [June 9, 2018, 4:51pm UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514/1 "2018-06-09T16:51:15Z")

</div>

I’ve been using the embedded topics as comments on my blog for a while, and the styling has worked fine until now (by adding my own CSS in the Embedded CSS section.

However, now it has suddenly stopped working. I’m not sure when exactly, I only noticed it today. Probably it has happened in the last week. I’m running the very latest beta build of Discourse (v2.1.0.beta1 +149).

There shouldn’t be anything wrong with my CSS, but I’ve included it here for good measure:

```
footer a.button {
    background-color: #17a817;
    color: white;
}

a, a:visited, a:hover, a:active, a.in-reply-to {
    color: #17a817;
}
.username a.staff {
    background-color: #17a817;
    color: white;
    padding-left: 0.2em;
    padding-right: 0.2em;
}

```

Has anyone else noticed the same?

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [June 12, 2018, 3:10am UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514/2 "2018-06-12T03:10:17Z")

</div>

@Osama can you test this and fix if something is off ?

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [June 12, 2018, 5:32am UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514/4 "2018-06-12T05:32:11Z")

</div>

I looked into this and it seems to be working fine on your site for me – here is a screenshot from your blog:

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/7/c7174c25e5a7386df9f6963e192af353b9654f17.png)

That said, I went ahead and added a case to our spec suite to ensure we’re immediately alerted if we ever regress around this area in the future:

[https://github.com/discourse/discourse/pull/5986](https://github.com/discourse/discourse/pull/5986)

---

<div class="post-metadata">

### Author: ![tkrunning](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tkrunning/32/119481_2.png) [@tkrunning](https://meta.discourse.org/u/tkrunning)
#### Post date: [June 12, 2018, 9:33am UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514/5 "2018-06-12T09:33:22Z")

</div>

Thanks for looking into it! I got it working yesterday by first disabling all the theme components I had activated in my theme (Linkify, the header menu icons, and a tracking script). But after reactivating each of them (one by one to try to spot the offender), the embedded topics continued to work as expected, so not sure what happened.

Thanks for adding the spec!

---

<div class="post-metadata">

### Author: ![Osama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/osama/32/98013_2.png) [@Osama](https://meta.discourse.org/u/Osama)
#### Post date: [June 12, 2018, 11:59am UTC](https://meta.discourse.org/t/css-no-longer-applied-to-embedded-topics/89514/6 "2018-06-12T11:59:27Z")

</div>


