Introducing Font Awesome 5 and SVG icons

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 :slight_smile:

2 Likes