# Has anyone added a custom footer to Discourse?

**URL:** https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745
**Category:** Support
**Created:** [August 4, 2015, 2:41pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745 "2015-08-04T14:41:17Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Erik\_Manger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erik_manger/32/179399_2.png) [@Erik\_Manger](https://meta.discourse.org/u/Erik_Manger)
#### Post date: [August 4, 2015, 2:41pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/1 "2015-08-04T14:41:17Z")

</div>

Hi everyone,

Props to whomever can help. Does anyone customized the footer of Discourse to include copyright text, links, etc.?

I am looking to do this for my site but honestly cannot figure out how to properly code the footer to where it looks and works good.

All help is appreciated, right now it feels like my Discourse site is “pantless”. ☹

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [August 4, 2015, 3:31pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/2 "2015-08-04T15:31:24Z")

</div>

Ours is just [basic centered text](https://talk.openmrs.org/c/uncategorized) so not much to help you with there. Do you have any kind of graphic mockup of what you’d like to achieve?

---

<div class="post-metadata">

### Author: ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)
#### Post date: [August 4, 2015, 6:58pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/3 "2015-08-04T18:58:31Z")

</div>

Just go to Admin, Customize, CSS/HTML, Bottom, and put your links in there 🙂

---

<div class="post-metadata">

### Author: ![Erik\_Manger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/erik_manger/32/179399_2.png) [@Erik\_Manger](https://meta.discourse.org/u/Erik_Manger)
#### Post date: [August 5, 2015, 3:42pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/4 "2015-08-05T15:42:00Z")

</div>

Perhaps some fancy social media icons with text would work fine… I am checking [http://codecanyon.net](http://codecanyon.net) also in hopes of finding something potential to work with the site…

Thanks for your reply!

---

<div class="post-metadata">

### Author: ![downey](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/downey/32/166878_2.png) [@downey](https://meta.discourse.org/u/downey)
#### Post date: [August 5, 2015, 4:02pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/5 "2015-08-05T16:02:36Z")

</div>

Cool. Once you figure out the HTML you need, adding it shouldn’t be too difficult using the steps @riking mentioned above.

---

<div class="post-metadata">

### Author: ![gooseegg](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gooseegg/32/120817_2.png) [@gooseegg](https://meta.discourse.org/u/gooseegg)
#### Post date: [January 11, 2017, 10:04am UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/6 "2017-01-11T10:04:41Z")

</div>

Hi. I recently found the footers over at BootSnipp [Bootstrap Footer Examples](http://bootsnipp.com/tags/footer?page=1) and wanted to use one of these in my own Discourse forum. Bootsnipp separates HTML, CSS, Javascript - so it is easy to cut’n paste that code into the Customize sections of my Discourse.

I tried several but each one does not center on my Discourse. I thought there might be a conflict among generic tag names (like “row” or “container” - so I tried adding “footer-” to the front, but that did not help.)

There seem to be at least 2 issues:

1. the centering doesn’t seem to work
2. the CSS columns effect also does not work.

Is there a setting I can change in my Discourse Settings area to allow these effects to happen in the footer? Should I be using certain tag names?

I hope to add links to websites related to my forum down there. I may also try adding a banner zone like I used to have in our pre-Discourse days.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 23, 2017, 4:07pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/8 "2017-01-23T16:07:11Z")

</div>

Here are a few examples

- [https://twittercommunity.com/](https://twittercommunity.com/)
- [https://community.smartthings.com/](https://community.smartthings.com/)

If you want to center your footer, either use `flex` to do it yourself, or use the “`container`” class.

---

<div class="post-metadata">

### Author: ![evolvable](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evolvable/32/191033_2.png) [@evolvable](https://meta.discourse.org/u/evolvable)
#### Post date: [August 20, 2020, 10:22am UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/10 "2020-08-20T10:22:36Z")

</div>

## Updated instructions for how to find this in 2020

1. Hamburger \> Settings \> Customize \> [Select a Theme] \> “Edit CSS/HTML” button \> Footer
2. Enter your custom HTML in the box and hit ‘Save’.
3. Repeat for each Theme that users can select.

## A decent, basic copyright section

I started with the following HTML for my copyright footer, which I thought worked well for both the default light and dark themes:

```html
<div style="text-align: center; color: #999; font-size: 90%; padding: 2em 0;">
Copyright &copy; 2020 INSERT YOUR COMPANY HERE. All rights reserved.
</div>

```

### Automatically updating the year

Of course, I don’t want to have to change the year in the footer every 12 months, so I’ve ugpraded it to have this HTML in the footer:

```html
<div style="text-align: center; color: #999; font-size: 90%; padding: 2em 0;">
Copyright &copy; <span id="footer-copyright-current-year"></span> INSERT YOUR COMPANY HERE. All rights reserved.
</div>

```

And this in the `</body>` section (probably not the ideal code, but I’m new to hacking Discourse):

```html
<script>
    function setCopyrightYear() {
        var el = document.getElementById("footer-copyright-current-year");
        if (el) {
            el.innerHTML = new Date().getFullYear();
        } else {
            setTimeout(setCopyrightYear, 100);
        }
    }
    document.addEventListener("DOMContentLoaded", setCopyrightYear);
</script>

```

Again, you need to copy/paste it to every theme where you want it to show up.

---

<div class="post-metadata">

### Author: ![evolvable](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/evolvable/32/191033_2.png) [@evolvable](https://meta.discourse.org/u/evolvable)
#### Post date: [January 8, 2021, 10:02pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/11 "2021-01-08T22:02:09Z")

</div>

> [@evolvable](#):
>
> Hamburger \> Settings \> Customize \> [Select a Theme] \> “Edit CSS/HTML” button \> Footer

Someone has just told me that on their Discourse instance, it’s:  
Hamburger \> **Admin** \> Settings \> …

On our instance (hosted by Discourse) it’s not necessary to go to Admin first.

---

<div class="post-metadata">

### Author: ![djcyry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/djcyry/32/161664_2.png) [@djcyry](https://meta.discourse.org/u/djcyry)
#### Post date: [January 8, 2021, 10:29pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/12 "2021-01-08T22:29:24Z")

</div>

Wow ..nice theme from smartthings .  
Wich theme are using ? is a custom header i see..

---

<div class="post-metadata">

### Author: ![robbie.morrison](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@robbie.morrison](https://meta.discourse.org/u/robbie.morrison)
#### Post date: [February 24, 2021, 7:49am UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/13 "2021-02-24T07:49:45Z")

</div>

The [Open Energy Modelling Initiative](https://en.wikipedia.org/wiki/Open_Energy_Modelling_Initiative) uses a custom footer on [our forum](https://forum.openmod.org/) with our **licensing terms** and clickable links to other services:

![openmod-forum-footer-tight.screenshot-20210224t074253z](https://global.discourse-cdn.com/meta/optimized/3X/a/8/a8adeba2842d27a32e7bade7b621bdf094544069_2_690x27.png)

I think this is quite helpful and also useful in a legal context.

We also of course **solicit for consent** for these licensing terms at the time of registration:

 ![openmod-forum-signup.screenshot-20210224t075440z](https://global.discourse-cdn.com/meta/original/3X/f/a/fa53890c6d46773612e6178a3b3d5966785b5842.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:36pm UTC](https://meta.discourse.org/t/has-anyone-added-a-custom-footer-to-discourse/31745/14 "2024-06-08T12:36:53Z")

</div>

This topic was automatically closed after 3230 days. New replies are no longer allowed.
