Skip to content

Fontawesome 5

Unsolved Customisation
14 2 3.0k 1
  • @phenomlab the free version

    @pwsincd Here’s the steps to add

    1. Open the ACP, and go to Appearance -> Custom Header. Within the custom header, we need to add
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    

    It should look like the below. Don’t forget to add the DOCTYPE and <head> values before anything else.

    e4c19939-e079-4507-907b-d6de2e4a6202-image.png

    1. In the same location, we need to add
    <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js" integrity="sha512-Tn2m0TIpgVyTzzvmxLNuqbSJH3JP8jm+Cy3hvHrW7ndTDcJ1w5mBiksqDBb8GpE2ksktFvDB/ykZ0mDpsZj20w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    

    You should now have something like the below

    0aa95976-c73d-4737-9cc2-c7eae8ca9c69-image.png

    Ensure that both of the below are on

    beaa416f-fd89-45e2-80b4-ab561443934b-image.png

    Save the changes

    This will now pull the required CSS and JS from the CDN on each page load. When attempting to use the font itself, you will need to identify it with font-family, so for example

    .mytarget {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    }
    

    Note that the free version only supports the solid icons, so it’s necessary to set the font-weight attribute.

    If you are looking to replace the existing icons, let me know as this requires additional configuration for it to work properly. This is something I do with a Pro subscription I have that Sudonix is using.

  • @pwsincd Here’s the steps to add

    1. Open the ACP, and go to Appearance -> Custom Header. Within the custom header, we need to add
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    

    It should look like the below. Don’t forget to add the DOCTYPE and <head> values before anything else.

    e4c19939-e079-4507-907b-d6de2e4a6202-image.png

    1. In the same location, we need to add
    <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/js/all.min.js" integrity="sha512-Tn2m0TIpgVyTzzvmxLNuqbSJH3JP8jm+Cy3hvHrW7ndTDcJ1w5mBiksqDBb8GpE2ksktFvDB/ykZ0mDpsZj20w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    

    You should now have something like the below

    0aa95976-c73d-4737-9cc2-c7eae8ca9c69-image.png

    Ensure that both of the below are on

    beaa416f-fd89-45e2-80b4-ab561443934b-image.png

    Save the changes

    This will now pull the required CSS and JS from the CDN on each page load. When attempting to use the font itself, you will need to identify it with font-family, so for example

    .mytarget {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    }
    

    Note that the free version only supports the solid icons, so it’s necessary to set the font-weight attribute.

    If you are looking to replace the existing icons, let me know as this requires additional configuration for it to work properly. This is something I do with a Pro subscription I have that Sudonix is using.

    @phenomlab This is great , i think you included some info i was missing i was almost there … replacing the whole sites fonts would be cool , is that with some kind of shim?

  • @phenomlab This is great , i think you included some info i was missing i was almost there … replacing the whole sites fonts would be cool , is that with some kind of shim?

    @pwsincd No, you should be able to override all of them, but likely on a one-by-one basis. You could use the css class of * but this is complete overkill and will impact other fonts on the site as it covers every single class.

  • @pwsincd No, you should be able to override all of them, but likely on a one-by-one basis. You could use the css class of * but this is complete overkill and will impact other fonts on the site as it covers every single class.

    @phenomlab Capture.PNG

    adding the code you posted , instantly affects some icons with the default FontAwesome as you can see they are now ?

  • @phenomlab Capture.PNG

    adding the code you posted , instantly affects some icons with the default FontAwesome as you can see they are now ?

    @pwsincd Can you share a URL where I can see this ? Over PM if you’d prefer 🙂

  • @phenomlab Capture.PNG

    adding the code you posted , instantly affects some icons with the default FontAwesome as you can see they are now ?

    @pwsincd This doesn’t look right at all

    2a8e7877-7728-45de-9a8d-c1f4b0f0123b-image.png

    Can you give me admin access to this site so I can take a look at your config please ?

    Let me know if feasible, and I’ll create an account.

  • @pwsincd This doesn’t look right at all

    2a8e7877-7728-45de-9a8d-c1f4b0f0123b-image.png

    Can you give me admin access to this site so I can take a look at your config please ?

    Let me know if feasible, and I’ll create an account.

    @phenomlab did u make an account

  • @phenomlab did u make an account

    @pwsincd Just created one

  • @pwsincd Just created one

    @phenomlab ok i will have to get back to this … i will DM when i available… IRL calling.

  • @phenomlab ok i will have to get back to this … i will DM when i available… IRL calling.

    @pwsincd no problems. Just let me know.

  • @phenomlab ok i will have to get back to this … i will DM when i available… IRL calling.

    @pwsincd hi. Just following up on this thread (I know it’s old) but was curious to understand if it’s still an issue or not ?


Related Topics
  • NodeBB v4.0.0

    General nodebb sudonix version 4
    28
    4 Votes
    28 Posts
    3k Views
    @Panda said in NodeBB v4.0.0: the workings of World aren’t intuitive Its not easy to get World populating when a forum is new to it This is a good point and one I’ve considered also. It’s a little confusing to be honest.
  • www. Infront stops website access?

    Solved Configure nodebb
    10
    1 Votes
    10 Posts
    1k Views
    @Panda because there is no match for the DNS entry specified. The receiving web server parses the headers looking for a destination hostname to match, and anything the web server is unable to resolve will be sent back to the root.
  • NodeBB: Favicon upload issue

    Solved Configure nodebb favicon
    12
    1
    3 Votes
    12 Posts
    2k Views
    @phenomlab I am on a Mac, so I used the “Option + Command + I”, and then performed the steps. It loaded my favicon! I checked on Firefox which I haven’t used before, and it showed my favicon also! That’s fantastic and thank you for the help!
  • who is read NodeBB

    Customisation read post nodebb
    6
    0 Votes
    6 Posts
    1k Views
    @cagatay You should ask in the NodeBB forums. Perhaps reference this post https://discuss.flarum.org/d/23066-who-read
  • Top Ranked Forums

    Chitchat nodebb top ranked
    9
    1
    3 Votes
    9 Posts
    2k Views
    The real issue here is that most people consider forums to be “dead” in the sense that nobody uses them anymore, and social media groups have taken their place. Their once dominant stance in the 90’s and early 00’s will never be experienced again, but having said that, there are a number of forums that did in fact survive the social media onslaught, and still enjoy a large user base. Forums tend to be niche. One that immediately sticks out is Reddit - despite looking like it was designed in the 80s, it still has an enormous user base. Another is Stack Overflow, which needs no introduction. The key to any forum is the content it offers, and the more people whom contribute in terms of posting , the more popular and widely respected it becomes as a reliable source of information. Forums are still intensely popular with gamers, alongside those that offer tips on hacking etc.
  • NodeBB inline videoplayer

    Solved Customisation nodebb
    12
    3 Votes
    12 Posts
    2k Views
    @phenomlab YAY! It works Thanks so much
  • Bootstrap Version

    Solved Customisation nodebb bootstrap
    8
    5 Votes
    8 Posts
    1k Views
    @phenomlab That will be nice once they have completed that. It will be interesting to see how long that takes. So for now I will use custom css to make it look the way I want. Frameworks just make things a little faster. Thanks @phenomlab
  • Avatar on Topic Header

    Solved Customisation css avatar header
    9
    1
    0 Votes
    9 Posts
    2k Views
    @jac said in Avatar on Topic Header: @downpw said in Avatar on Topic Header: Great Plugin I make it a bit cleaner via this CSS code: /*------------------------------------------------------------------*/ /*---------------- nodebb-plugin-browsing-users -----------------*/ /*------------------------------------------------------------------*/ /*Space between the avatar and the RSS icon */ .topic [component="topic/browsing-users"] { margin-bottom: -5px; padding-left: 10px; } /*Space between avatars*/ .pull-left { float: left!important; padding-right: 5px; } Do you have a screenshot of how this looks with the CSS change? Just added this change, thanks @DownPW