# 白名单，允许 iframe

**URL:** https://meta.discourse.org/t/whitelist-allowed-iframe/97738
**Category:** Feature
**Created:** [2018年九月21日 08:23 UTC](https://meta.discourse.org/t/whitelist-allowed-iframe/97738 "2018-09-21T08:23:51Z")
**Posts on this page:** 1
**Showing post:** 11

<div class="post-metadata">

### Author: ![robmc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmc/32/125900_2.png) [@robmc](https://meta.discourse.org/u/robmc)
#### Post date: [2018年九月27日 10:17 UTC](https://meta.discourse.org/t/whitelist-allowed-iframe/97738/11 "2018-09-27T10:17:21Z")

</div>

Why don’t you simply style your Discourse header to match your existing site? This requires CSS and theme changes, no need for iframes

you can read more about themes and theme components here:

> [@Beginner's guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966):
>
> This is a crash course in Discourse theme basics. The target audience is everyone who is not familiar with Discourse themes. If you’ve already used Discourse theme / theme components, this guide is probably not something you need to read. What are themes and theme components? A theme or theme component is a set of files packaged together designed to either modify Discourse visually or to add new features. Let’s start with themes. Themes In general, themes are not supposed to be compatible …

---

_[View the full topic](https://meta.discourse.org/t/whitelist-allowed-iframe/97738)._
