# Adding a banner to advertise my website on my Ghost newsletter site

**URL:** <https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142>\
**Category:** Using Ghost\
**Created:** [September 8, 2024, 4:22pm UTC](https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142 "2024-09-08T16:22:08Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![CptDezko](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@CptDezko](https://forum.ghost.org/u/CptDezko)\
**Post date:** [September 8, 2024, 4:22pm UTC](https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142/1 "2024-09-08T16:22:08Z")

</div>

Hello,

Is there any way I can add a banner (which will look like a banner) to advertise another website of mine?

Thanks,

Alex

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [September 9, 2024, 11:59am UTC](https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142/2 "2024-09-09T11:59:50Z")

</div>

The answer to this question is very theme specific. Link your site?

---

<div class="post-metadata">

**Author:** ![CptDezko](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@CptDezko](https://forum.ghost.org/u/CptDezko)\
**Post date:** [September 11, 2024, 10:52am UTC](https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142/3 "2024-09-11T10:52:22Z")

</div>

[www.notjustadz.com](http://www.notjustadz.com) I am using the source theme. Thanks!!

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [September 11, 2024, 1:37pm UTC](https://forum.ghost.org/t/adding-a-banner-to-advertise-my-website-on-my-ghost-newsletter-site/50142/4 "2024-09-11T13:37:43Z")

</div>

Something like this:

```auto
<script>
const header=document.querySelector('header');
let newDiv = document.createElement('div')
newDiv.innerHTML = "<p>Hello world! Put any HTML wanted here</p>"
'<p>Hello world! Put any HTML wanted here</p>'
//header.appendChild(newDiv); alternative - depends where you want it!
header.prepend(newDiv)
</script>

```

For a banner above source, you’ll also need to tweak margins (depending on the banner height):

```auto
<style>
.gh-header.is-classic.has-image {
margin-top: 80px;
}
</style>

The javascript needs to go in the code injection footer, but the styles can go in the code injection header.
```
