Topic: Icons does not displays

Vito free asked 5 years ago


Hi,

Im using  MDB Pro 4.6.1. 

I can not to display icons using a code from https://mdbootstrap.com/docs/jquery/content/icons-usage/

For example this code:

<i class="fas fa-camera-retro"></i> fa-camera-retro

displays as:

save image

There are no any errors in chrome dev console.

At the same time such old naming code (fa instead of fas):

<i class="fa fa-camera-retro"></i> fa-camera-retro

works fine:
save image
Also does not displays icons with class names far, fa-stack etc.


Piotr Glejzer staff commented 5 years ago

Hmm, are you sure that you are using version 4.6.1? We removed old dependency with FA4 in release 4.6.0.  May show me your code from <head></head> tag? 


robitwtms free answered 4 years ago


for me <i class="fa fa-linkedin"> </i> changed to <i class="fab fa-linkedin"> </i> worked for me


Vito free answered 5 years ago


Yes, there was 

<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">

instead of

<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">

in  <head>

Issue resolved. Thanks for the right question.

 


Piotr Glejzer staff commented 5 years ago

No problem:). If you have more questions let me know. Have a nice day .



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: 4.5.15
  • Device: desktop
  • Browser: Chrome
  • OS: Ubuntu 16
  • Provided sample code: Yes
  • Provided link: No