Perhaps some fancy social media icons with text would work fine… I am checking http://codecanyon.net also in hopes of finding something potential to work with the site…
Hi. I recently found the footers over at BootSnipp 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:
the centering doesn’t seem to work
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.
Instructions mises à jour pour trouver cela en 2020
Menu hamburger > Paramètres > Personnaliser > [Sélectionner un thème] > Bouton « Modifier CSS/HTML » > Pied de page
Saisissez votre code HTML personnalisé dans la zone et cliquez sur « Enregistrer ».
Répétez l’opération pour chaque thème que les utilisateurs peuvent sélectionner.
Une section de copyright basique et correcte
J’ai commencé avec le code HTML suivant pour mon pied de page de copyright, qui, selon moi, fonctionnait bien à la fois pour les thèmes clair et sombre par défaut :
Bien sûr, je ne veux pas avoir à modifier l’année dans le pied de page tous les 12 mois, alors je l’ai amélioré avec ce code HTML dans le pied de page :
Et ceci dans la section <body> (ce n’est probablement pas le code idéal, mais je suis nouveau dans le hacking de Discourse) :
<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>
Encore une fois, vous devez le copier/coller dans chaque thème où vous souhaitez qu’il s’affiche.