# Customizing the Embed Template

**URL:** https://meta.discourse.org/t/customizing-the-embed-template/131682
**Category:** Support
**Created:** [October 23, 2019, 3:25am UTC](https://meta.discourse.org/t/customizing-the-embed-template/131682 "2019-10-23T03:25:41Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![klayemore](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/klayemore/32/138632_2.png) [@klayemore](https://meta.discourse.org/u/klayemore)
#### Post date: [October 23, 2019, 3:25am UTC](https://meta.discourse.org/t/customizing-the-embed-template/131682/1 "2019-10-23T03:25:41Z")

</div>

Hi, I’m using the embed feature to load posts form my blog.

When this comes through to Discourse, it displays the following line wrapped in a ‘small’ tag: “This is a companion discussion topic for the original entry at LINK”

I’d like for this to be wrapped in an ‘h4’ tag instead and say something like “Read the article: LINK”

Any ideas how I could accomplish this? Thanks for the help.

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [October 23, 2019, 6:24pm UTC](https://meta.discourse.org/t/customizing-the-embed-template/131682/2 "2019-10-23T18:24:43Z")

</div>

> [@klayemore](#):
>
> I’d like for this to be wrapped in an ‘h4’ tag instead and say something like “Read the article: LINK”

To wrap the text in an `h4` tag would require a plugin. The tag is set in the `TopicEmbed::imported_from_html` method. You would need to re-open that method in a plugin to change the tag.

You can change the text content that is displayed from your site’s Admin / Customize / Text section. Search for `embed.imported_from`.

If you just want to make the text larger, you could try making the change with CSS. Either override the text size for all `small` elements on your site, or try to target the `imported_from` text with something like this:

```css
.cooked hr + small {
    font-size: 16px;
}

```

---

<div class="post-metadata">

### Author: ![klayemore](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/klayemore/32/138632_2.png) [@klayemore](https://meta.discourse.org/u/klayemore)
#### Post date: [October 23, 2019, 10:05pm UTC](https://meta.discourse.org/t/customizing-the-embed-template/131682/3 "2019-10-23T22:05:45Z")

</div>

This is all very helpful, thanks Simon. I’ll give it a go 🙂

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [November 22, 2019, 10:18pm UTC](https://meta.discourse.org/t/customizing-the-embed-template/131682/4 "2019-11-22T22:18:59Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
