How to add icons in the top bar

the x theme icon for open envelope is no longer working how do I fix this is it a setting I need to change or do I have to convert the icon to font awesome or something?

wingarathoroughbreds.com.au

Hi @wicara,

Thank you for reaching out to us. I see you’ve added the envelop icon markup directly in your topbar. As of Font Awesome version 5 they split icons into multiple fonts. This can be fixed by changing instances of the data-x-icon attribute to one of the following:

data-x-icon-b for social icons.
data-x-icon-o for outline icons.
data-x-icon-s for solid icons.

The original attribute data-x-icon will still work for solid icons as a fallback but we’ve updated everything for consistency. Also checkout FAQ section of https://theme.co/apex/forum/t/release-notes-pro-2-2-x-6-2-cornerstone-3-2/38234

You can replace you icon markup with the following one to fix the issue:

<i class="x-icon x-icon-envelope" data-x-icon-s="︎&#xf0e0"></i>

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.