# Embedding a list of Discourse Topics in another site

**URL:** https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911
**Category:** Announcements
**Tags:** embedding
**Created:** [15 באוגוסט,‏ 2019,‏ 5:53pm UTC](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911 "2019-08-15T17:53:02Z")
**Posts on this page:** 1
**Showing post:** 110

<div class="post-metadata">

### Author: ![adamgpope](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/adamgpope/32/121658_2.png) [@adamgpope](https://meta.discourse.org/u/adamgpope)
#### Post date: [12 במאי,‏ 2021,‏ 2:36pm UTC](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911/110 "2021-05-12T14:36:35Z")

</div>

> [@Jonathan5](#):
>
> Also I’m still keen to sort out the width thing…

The CSS needs adding to your site, rather than Discourse’s embedded, CSS. So you’d have something like this:

```
<html>
  <head>
    <script src="https://jonathan5-discourse.com/javascripts/embed-topics.js"> 
    </script>
    <style>
      d-topics-list iframe{
        width: 100%!important;
        }
    </style>
  </head>
  <body>
    <d-topics-list discourse-url="https://jonathan5-discourse.com" category="5" per-page="5"></d-topics-list>
  </body>
</html>

```

---

_[View the full topic](https://meta.discourse.org/t/embedding-a-list-of-discourse-topics-in-another-site/125911)._
