News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

Menu icons, fontawesome

Started by Miri, 12.10.2016 01:49:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Miri

Hello
I tried a lot, but I can not find a solution by itself.
How do I replace the default menu icons (of jdwonloads) with icons of fontawesome, using the usual class 'fa fa-icon'

Thank you
  •  

ColinM

#1
Hi
This is not an easy change as you have discovered!  Fontawesome has 'text characters' but the icons are 'images'. So they are not the same thing and are referenced in a different way.

It is tempting to say why not put them in the text strings that accompany most icons. A challenge here would the language files, and of course the need to change fonts in 'mid stream' so to speak.

We could not make a wholesale change to use fontawesome as not all users would have it, and many might not like those icons!  So it would have to be a config matter.

In the short to medium term the only practical but rather tiresome way I can think of would be to make images of those icons you want to change from the fontawesome set and then substitute them in the relevant directories.

EDIT: Just thought a bit further.  If you switch to using the CSS based icons for "hot", "new" and so on then I believe it would be possible to modify the relevant css for these to use fontawesome characters.  This css could be put in jdownloads_custom.css
Whilst not a complete solution for the other icons it is a possible starting point.

Colin
Colin M
  •