Fontawesome always reloading icons

I upgraded from Fontawesome 3 to Fontawesome 5. Now I got several problems. If I am just linking the font-awesome.min.css in the head, the icons are not loading. I just see squares. If I link the all.css and tha all.js in the head, I works. So the icons are shown correctly. But everytime, I am clicking any Button and the page is realoding, it takes around half a second to reload the icons. In the previous Version it worked without the js and the icons weren't reloading at all. I am not sure why it is behaving like this. Maybe because all the <i ...> are converted into svg?

Do you have any hints what I can do?

1 Answer

The class names changed.

In FontAwesome 3:

<i></i> 

In FontAwesome 5:

<i></i> 

You should look them up here and change them manually.

4

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

You Might Also Like