Skip to content

Fontawesome 5

Unsolved Customisation
14 2 3.6k 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 to Xenforo

    Solved Configure xenforo nodebb
    3
    0 Votes
    3 Posts
    110 Views
    @cagatay as @downpw stated, there isn’t a native tool that will do this for you. You’d need to either develop your own or ask the nodebb team to assist which will be a paid exercise.
  • What’s going on with NodeBB?

    Performance nodebb script die
    20
    8 Votes
    20 Posts
    2k Views
    @cagatay The most reliable way to upgrade Node.js on Ubuntu depends on how you originally installed it. Method 1: Using NVM (Recommended) If you already use Node Version Manager (NVM), upgrading is simple. NVM allows you to keep both versions and switch between them if needed. Install Node 22: nvm install 22 Switch to Node 22: nvm use 22 Set it as your default: nvm alias default 22 Verify the change: node -v Method 2: Using NodeSource (PPA) If you installed Node.js via apt using the NodeSource repository, you need to update the repository script to point to the new version. Remove the old NodeSource list (optional but cleaner): sudo rm /etc/apt/sources.list.d/nodesource.list Download and run the NodeSource setup script for Node 22: curl -fsSL [https://deb.nodesource.com/setup_22.x](https://deb.nodesource.com/setup_22.x) | sudo -E bash - Install/Upgrade Node.js: sudo apt-get install -y nodejs Verify the installation: node -v Method 3: Using the ‘n’ Package If you have npm installed, you can use the n interactive manager. Clear the npm cache: sudo npm cache clean -f Install the ‘n’ helper: sudo npm install -g n Install Node 22: sudo n 22 Update your shell: hash -r Troubleshooting Permission Denied: If you see permission errors using Method 2 or 3, ensure you are using sudo. Path Issues: If node -v still shows version 20 after upgrading via NVM, restart your terminal or run source ~/.bashrc. Conflicts: Avoid mixing these methods. If you switch from apt to nvm, it is best to sudo apt remove nodejs first to avoid path conflicts.
  • Planned sunset of NTFY plugin

    Pinned Announcements push nodebb ntfy
    7
    1
    8 Votes
    7 Posts
    2k Views
    I’ve noticed that I’m the only one subscribed to the push notifications on this site. If you were using NTFY previously, and have noticed that you’ve not had any alerts for a while, it’s because this feature has been disabled. You’ll now need to use the push notification to replace NTFY as mentioned in the first post.
  • 4 Votes
    7 Posts
    2k Views
    @phenomlab oh no, that is 1 cent on the video, but you are right, symbols are similar… I just converted it to $1 , since it is more intuitive in daily life…
  • Whitespace fixes in Nodebb

    Solved Customisation nodebb
    18
    2
    7 Votes
    18 Posts
    4k Views
    @Panda Just circling back here with something of an update (which I think you’ll like). I’ve completely restructured the ranking system. There are now less ranks, with a higher point threshold to reach them. More importantly, if you reload the site, you’ll notice that the ranks are now icons. I also removed the “Author” badge, and made this a single icon, which (to me) looks much better.
  • Composer options on nodebb

    Solved Configure nodebb
    8
    1
    3 Votes
    8 Posts
    2k Views
    @Panda You should be able to expose the CSS for these using F12 to get into console [image: 1686833368846-3591518c-e3a3-4ada-a43c-6b32a5e0359c-image.png] [image: 1686833399483-a2b8ed46-4157-4ff2-85f0-576543380107-image.png] That should then expose the element once selected [image: 1686833431032-89d9c545-a47a-40d1-98f4-80cf3b958e8f-image.png] Here’s the below CSS you need based on the screenshot provided. .composer .formatting-bar .formatting-group li[data-format="picture-o"], .composer .formatting-bar .formatting-group li[data-format="spoiler"] { display: none; }
  • Changing the look of recent cards

    Announcements cards css
    1
    1
    2 Votes
    1 Posts
    691 Views
    No one has replied
  • 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