Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Christina 118 posts 371 karma points notactivated
    1 week ago

    Hi I'm using package Our.Iconic And I would preceate som help with regex for fontawesome 6 I want to render <i class="fa-light fa-alarm-exclamation"></i> I have tried

    ./fa-(light)+:before {

    ./fa-(solid|regular|light|brands|duotone|thin)+:before {

    .(fa-[\w-]+):before {

    Nothing seems to works, I have checked the path to the font and it's ok. Maybee someone can point me in right direction.

    Many thanks in advance /Christina

  • Christian Spencer 2 posts 92 karma points
    1 day ago
    Christian Spencer


    I have just been trying to get Font Awesome 6 working with this also.

    I found that if you use the following regex ".(fa-[\w-]+):{2}before {" it should return the icons.

    I'm using the all.css file on both the css file and Rules source file as I believe all the icons are in this css file, and you can swap out the light|regular|bold|duotone etc out using a different selector.

    Attached picture below of my config.

    Umbraco back office Iconic setup

    Hopefully that works for your setup also!



  • Christina 118 posts 371 karma points notactivated
    21 hours ago

    Hi it works you have saved my, day big thanks. /Christina

Please Sign in or register to post replies

Write your reply to: