Font Awesome - Forum | JoomShaper
Staff replied Helix Framework

Font Awesome

Asked by sef 3 years ago Last activity 3 years ago

Hello,

When i globally disable font awesome, instead of the icon of this font are diplayed some ASCII "square" like a "missing font".
This happend in the menù signle voice and somewhere else, problably in the navigation.

How can I disable font awesome so the font is not "call" by any item of the framework and website?

Thank you

3 replies

Pavel
3 years ago · edited

Hi.
Helix is designed to use Font Awesome. The font can be disabled, but the font shutdown cannot affect the rigidly encoded structure. Therefore, you need to override everything that causes problems through CSS.

For example, old code with using Font Awesome

.fas.fa-cogs::before {
    content: "\f085";
}

New code

.fas.fa-cogs::before {
    content: "your own icon or image";
}
/*Or*/
.fas.fa-cogs::before {
    content: ''; /*empty*/
/*and something new here for this selector*/
}
sef Asked this

Thank you

Anne Staff

Hello Lorenzo,

Thanks for contacting us. You can follow Pavel's instructions . And @Pavel thanks for the help again .

-Regards

Log in to reply.