Astroid-Framework icon indicating copy to clipboard operation
Astroid-Framework copied to clipboard

[J!4, AF 2.5.4] fontawesome wrong path

Open ReLater opened this issue 4 years ago • 1 comments

  • AF 2.5.4
  • Joomla 4.0.0
  • Template One
  • fontawesome.min.css not found

Reason: See https://github.com/joomdev/Astroid-Framework/blob/v2.5.4/astroid/astroid-framework/framework/library/astroid/Helper/Head.php#L64

This path doesn't exist anymore in Joomla 4. Therefore fa-* icons aren't displayed.

  • I've tried media/vendor/fontawesome-free/css/fontawesome(.min).css but that fails too, because it stupidly doesn't include the necessary font-face parts. I don't know what it's good for at all.
  • As far as I see the only usable path from Jomla core is media/system/css/joomla-fontawesome.min.css

ReLater avatar Aug 19 '21 18:08 ReLater

I forgot to say that I've disabled "Font Awesome Loading" in Astroid plugin. After looking in the code above where I find also a line $document->loadFontAwesome(); I'm a bit confused now. Maybe the linked line above is intentionally wrong and just redundant in some cases?

ReLater avatar Aug 23 '21 13:08 ReLater