Essential theme font awesome icons in Custom menu (fontawesome)

Essential theme font awesome icons in Custom menu (fontawesome)

par Animal the muppet,
Nombre de réponses : 9

Sorry for a number of threads trying to get font awesome working!. This thread is in relation to the essential theme @Gareth J Barnard. Please delete my other threads mods.


I'm trying to do this and get icons next to the menu




I got this working in 2015

https://moodle.org/mod/forum/discuss.php?d=319196


Has anything changed?

I'm using the same code


a i.fa-graduation-cap {display:none}
ul.dropdown-menu a[title="test1"]:before{content:"\f1b3 "; font-family: FontAwesome;  margin-right: .5em;}
ul.dropdown-menu a[title="test2"]:before{content:"\f0c0 "; font-family: FontAwesome;  margin-right: .5em;}


it's not working. Any ideas whats going on?


Essential 3.5.0.1

Moodle 3.5

Moyenne des évaluations  -
En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Gareth J Barnard,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers

Ok....

Let me get this right before I delete the posts:

That this is:

  • All the same thing.
  • Not Boost related but Essential related.
  • Pertaining to the custom menu and not the course menu as shown in the screen shot.

?

En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Animal the muppet,

The issue is some icons don't show in essential. 

It's ok to delete all 3 threads. Sorry for the cleanup job!

En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Gareth J Barnard,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers

All '3' threads!  Are you sure?  As that would mean this one to.

En réponse à Gareth J Barnard

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Animal the muppet,

Yes, I wouldn't like to clog up the forum sourire 

En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Gareth J Barnard,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers

So you've solved the Essential one then?

En réponse à Gareth J Barnard

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Animal the muppet,

Well.... Some font awesome icons show and some don't. 

I'm using this to choose icons

https://fontawesome.com/icons?d=gallery&m=free

The only reason I can think some icons work/don't is looking at the Essential changelog is putting this to a version compatibility issue? The reference I found was the 3.1.1.5 update.

https://moodle.org/plugins/pluginversion.php?id=17000

NEW: Update to FontAwesome 4.7.0.


I think fontawesome is on 5. something?

En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Gareth J Barnard,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers

Essential is on FontAwesome 4.7.0 just like the rest of Moodle core, i.e. Boost.  I've updated Shoelace to FA 5 free.

So you still want me to 'delete' '3' posts?  i.e. three would include this one as there are only two others, unless you've posted in another forum for the same question and not said so.

En réponse à Gareth J Barnard

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Animal the muppet,

aha, that's why.


Yes please and thank you to deleting. i've only created three threads this year triste 

Don't worry, i'll be back sourire

En réponse à Animal the muppet

Re: Essential theme font awesome icons in Custom menu (fontawesome)

par Gareth J Barnard,
Avatar Core developers Avatar Particularly helpful Moodlers Avatar Plugin developers

Ok, as requested I've deleted one of the posts but the other now has a reply so won't delete that.