Questions tagged [font-awesome]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
2 answers
277 views

How to add Fontawesome in Magento2 without CDN

I want to load Fontawesome in my Magento2 without CDN. I have downloaded the font awesome library from this link Fontawesome 6.1.1. And in zip file I got these files as shown in the figure . And in my ...
user170106's user avatar
0 votes
1 answer
525 views

how to add font awesome using librarie

in my case, I have added this font awesome by declaring it in the header. is there any way to inject this font awesome by libraries on the resource of my module and not call it externally by link
magNif's user avatar
  • 5
0 votes
2 answers
470 views

Fontawesome kit not loading Magento 2.3.6

I am trying to use the new fontawesome kit url in magento 2.3.6 but i cant get it to work. It seems to load the js but not icons aren't displayed. I have added <script src="https://kit....
Alex Smith's user avatar
3 votes
1 answer
2k views

Magento 2 font-display: swap

How is it possible to add to Magento 2 fonts font-display: swap ? I don't find the correct way in the typography.less, or in a custom CSS file, it breaks all the CSS. .lib-font-face( @family-...
C. vally's user avatar
2 votes
1 answer
5k views

Magento 2 is not loading the fontawesome cdn library

I'm trying to load a css library on a magento 2 from cdn: <css src="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" type="text/css" src_type="url"/> and to do this ...
alexcr's user avatar
  • 1,477