No Code Attached Yet
avatar SimonLitt
SimonLitt
17 Dec 2025

Please add the following icons to the media/system/css/joomla-fontawesome.css[.min] :

.icon-book-open:before {
	content: "";
}
.icon-grip-horizontal:before {
	content: "";
}
.icon-door-open:before {
	content: "";
}
.icon-pencil-ruler:before {
	content: "";
}
avatar SimonLitt SimonLitt - open - 17 Dec 2025
avatar joomla-cms-bot joomla-cms-bot - change - 17 Dec 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 17 Dec 2025
avatar chmst
chmst - comment - 17 Dec 2025

It seems that you need these icons for your project? Then it is better to define these icons in your own project, they are too special for Joomla core.

avatar brianteeman
brianteeman - comment - 17 Dec 2025

joomla-fontawesome icon classes are all refixed with fa- not icon-

Sorry @chmst you are mistaken

all of these icons are already present with the prefix fa- and not icon-

avatar SimonLitt
SimonLitt - comment - 17 Dec 2025

It seems that you need these icons for your project? Then it is better to define these icons in your own project, they are too special for Joomla core.

That's what I've done for now. I just figured that Joomla's best practice is to redefine icons.
Why are they needed then? When all of the fa- prefixes follow them.

avatar SimonLitt
SimonLitt - comment - 17 Dec 2025

joomla-fontawesome icon classes are all refixed with fa- not icon-

Sorry @chmst you are mistaken

all of these icons are already present with the prefix fa- and not icon-

I use these styles to add icons to menu items.
Tab Link Type -> Link Icon Class

The icon- prefixes works well.
The fa- prefixes don't work.

avatar SimonLitt
SimonLitt - comment - 17 Dec 2025

Okay, I found a way to use the fa- prefix. Standard icon family definition: fa fa-[icon].
This is even better because 'icon-[icon]' and fa fa-[icon] give different external results.
To make the display the same, it needs to remove the padding:

.p-2 {
   padding-left: 0 !important;
 }

But the question remains: why are icon- styles needed? And why do they not match the fa- styles specified below?

avatar Vivek4715
Vivek4715 - comment - 23 Dec 2025

Hello maintainers, I’m interested in contributing to this issue. Kindly assign it to me so I can begin working on a solution and open a PR linked to this ticket. Appreciate your guidance! @SimonLitt

avatar LadySolveig
LadySolveig - comment - 23 Dec 2025

@SimonLitt Since Joomla comes with widely used standards but is supposed to remain very flexible, especially in the front end, it makes perfect sense to handle a healthy amount of standard icons with a general prefix in the styles which appear in almost every other icon set as well.

It is much easier and more efficient to customise one CSS/SCSS file than to find and overrite every single standard layout in which an icon is used.

This applies both to individual template creators who may want to use a different icon set tand to the CMS itself, should it in the futere become necessary to switch for example, for licensing reasons or similar.
I hope that makes sense.

avatar LadySolveig LadySolveig - change - 23 Dec 2025
Status New Closed
Closed_Date 0000-00-00 00:00:00 2025-12-23 23:40:07
Closed_By LadySolveig
avatar LadySolveig LadySolveig - close - 23 Dec 2025
avatar LadySolveig LadySolveig - close - 23 Dec 2025

Add a Comment

Login with GitHub to post a comment