# Remove Write.as Branding from Footers

**URL:** <https://discuss.write.as/t/remove-write-as-branding-from-footers/393>\
**Category:** Feature requests\
**Created:** [February 12, 2019, 1:34am UTC](https://discuss.write.as/t/remove-write-as-branding-from-footers/393 "2019-02-12T01:34:56Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Aris](https://discuss.write.as/user_avatar/discuss.write.as/aris/32/58_2.png) [@Aris](https://discuss.write.as/u/Aris)\
**Post date:** [February 12, 2019, 6:37pm UTC](https://discuss.write.as/t/remove-write-as-branding-from-footers/393/5 "2019-02-12T18:37:54Z")

</div>

@fjhvio @lhl

I’m not a JS guru 🕶 I can just hack @matt code…

Here is an example custom footer after the content area…

**1** — **Insert your content in the JavaScript**

```javascript
var topP = document.createElement("p");
//topP.style.textAlign = "center";
topP.innerHTML = '<hr><div class="custom-nav"><a href="https://mamot.fr/@aris">Mastodon</a> // <a href="https://aris.papatheodorou.net">Blog</a> // <a href="#">Haut de page</a></div>';
var cont = document.getElementById("wrapper");
if (cont !== null) {
    // Add to blog index and tag pages
    cont.appendChild(topP);
} else {
    // Add to individual blog post page
    cont = document.getElementById("post-body");
    cont.insertAdjacentHTML("afterend", topP.outerHTML);
}

```

**2** — **Customize the CSS**

```css
.custom-nav {
  text-align: center;
  text-transform: uppercase;
  font-family: 'Open Sans', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: #666;
}
.custom-nav a:link, .custom-nav a:visited, .custom-nav a:hover, .custom-nav a:active {
   color: #eee;
}
.custom-nav a:hover, .custom-nav a:active {
   text-decoration: underline;
}

```

You can see the result on my **[tech blog](https://lab.papatheodorou.net/)**… à the bottom of the page.

**Note 1** — The custom content must be placed in this JS string:

```javascript
topP.innerHTML = 'HTML CONTENT GOES HERE'

```

**Note 2** — This is inserted _before_ the normal footer (" published with write.as") because… I don’t know how to insert this after with JS.

All this is just a dirty hack from Matt’s code here:

> [@Back to top Button](https://discuss.write.as/t/back-to-top-button/85/2):
>
> Hey, you can do that today with a bit of Javascript: var topP = document.createElement("p"); topP.style.textAlign = "center"; topP.innerHTML = '\<a href="#"\>Back to top\</a\>'; var cont = document.getElementById("wrapper"); if (cont !== null) { // Add to blog index and tag pages cont.appendChild(topP); } else { // Add to individual blog post page cont = document.getElementById("post-body"); cont.insertAdjacentHTML("afterend", topP.outerHTML); }

---

_[View the full topic](https://discuss.write.as/t/remove-write-as-branding-from-footers/393)._
