By Paul on Saturday, 17 February 2018
Posted in Elegant
Replies 7
Likes 0
Views 3.5K
Votes 0
I'm using the Elegant template. I want to either extend the joomla icomoon icons or replace them. How would I override these in the Elegant template?
Hey Paul,

Not really sure which icons are you referring to here. Can you please elaborate more on this please?
·
Saturday, 17 February 2018 12:29
·
0 Likes
·
0 Votes
·
0 Comments
·
https://docs.joomla.org/J3.x:Joomla_Standard_Icomoon_Fonts

these are part of the default jui in joomla 3 but the default icons are only a fraction of the full icomoon icons.

/media/jui/fonts/IcoMoon.svg
·
Saturday, 17 February 2018 13:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Ah I see. These are built into Joomla and not part of Elegant. You need to modify Joomla's core to extend the icomoon package.
·
Saturday, 17 February 2018 13:10
·
0 Likes
·
0 Votes
·
0 Comments
·
No need to hack the joomla core. These are intended to be used with other templates just like bootstrap and other jui features.

the page I linked at the bottom is incomplete documentation on how to use in templates. That is why I am asking here. There are other templates and frameworks that have specific parameters built in to use icomoon font/icons or alternative fontawesome or others. But short of that they are intended to be used in overrides / custom.css.
·
Saturday, 17 February 2018 13:49
·
0 Likes
·
0 Votes
·
0 Comments
·
I suppose you could easily add the necessary css / font codes into the the template's index.php file if you want to add more icons on icomoon but Elegant is only rendered on the front end and not the back end though.
·
Saturday, 17 February 2018 13:51
·
0 Likes
·
0 Votes
·
0 Comments
·
so are you saying that a template override would not work here?

like /templates/elegant/html//jui/fonts/

I was trying to figure this out based upon the Protostar example. There however the override is a reference to /html/com_media/
which I believe is overriding /components/com_media
·
Sunday, 18 February 2018 01:56
·
0 Likes
·
0 Votes
·
0 Comments
·
com_media is for the media manger in Joomla and not the icomoon library from Joomla. If you want to use your own set of icons on the front end, you can just edit the template's index.php file and add the respective codes to your icon css file. It's much simpler that way.
·
Sunday, 18 February 2018 14:10
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post