# 介绍 Font Awesome 5 和 SVG 图标

**URL:** <https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643>\
**Category:** Announcements\
**Tags:** new-feature\
**Created:** [2018年十一月9日 00:55 UTC](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643 "2018-11-09T00:55:16Z")\
**Posts on this page:** 1\
**Showing post:** 26

<div class="post-metadata">

**Author:** ![LKNickname](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lknickname/32/209114_2.png) [@LKNickname](https://meta.discourse.org/u/LKNickname)\
**Post date:** [2018年十二月3日 02:05 UTC](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643/26 "2018-12-03T02:05:16Z")

</div>

Do you have a fix for the old “Add icon to header”-function?

As of now I am using code very similar to the following within my header:

```
api.decorateWidget('header-icons:before', helper => {
    return helper.h('li', [
        helper.h('a#globe-button.icon', {
            href:'https://www.website.com/',
            title: 'Back to website'
        }, helper.h('i.fa.fa-globe.globe-button-icon.d-icon')),
    ]);
});

```

Ofc the “i”-functionality is broken but since I am no dev myself I was wondering what to tweak in order to get the icons displayed again 🙂

---

_[View the full topic](https://meta.discourse.org/t/introducing-font-awesome-5-and-svg-icons/101643)._
