Font awesome icons 2.3 - categories, nodes, prefixes, phrases, templates etc...

Font awesome icons 2.3 - categories, nodes, prefixes, phrases, templates etc...

I can't seem to get the forum node icons to change. The tutorial is for "categories" is that supposed to include forum nodes also?
 
experimenting around for fun a little.....seems like animations break transform:rotate?.....i found a way to kind of force it, but it halfway breaks the animation...feel like im missing something 🤔
 
I want to add a FA icon to custom fields. For example: I have a custom field with the field title Telephone and I want to add fa-solid fa-phone before the word telephone. How do I do this?
 
experimenting around for fun a little.....seems like animations break transform:rotate?.....i found a way to kind of force it, but it halfway breaks the animation...feel like im missing something 🤔
i want to guess this is a specificity issue where i want it to rotate, THEN animate...but it seems like its trying to do them both at the same time perhaps...idk if there is a way or not for something like that tho....
 
I can't seem to get the forum node icons to change. The tutorial is for "categories" is that supposed to include forum nodes also?
Sorry for delay, now updated

experimenting around for fun a little.....seems like animations break transform:rotate?.....i found a way to kind of force it, but it halfway breaks the animation...feel like im missing something 🤔
I suggest you make a new thread to ask this as it's outside the scope of this resource guide.
 
I want to add a FA icon to custom fields. For example: I have a custom field with the field title Telephone and I want to add fa-solid fa-phone before the word telephone. How do I do this?
Depending on what exactly you want to do the easiest approach might be to change the field title to
Code:
{icon:fas::phone} Telephone

This will look broken in ACP but should work fine in the frontend.

A LESS approach (assuming your field name is phone, adjust as needed if not) could be

Code:
dl[data-field="phone"] dt
{
    .m-faBefore(@fa-var-solid-phone);
}

@Mr Lucky
.m-faContent() is deprecated...ish (it's an alias for backwards compatibility), you might want to update this to .m-faIcon()
 
Last edited:
Screenshot_230.webp
Everything a forum needs to make it more elegant and visually appealing, practical and objective tips that even I could do. (I'm a layman)
Great stuff Mr Lucky:coffee:
 
Back
Top Bottom