Essential theme font awesome icons in Custom menu (fontawesome)

Essential theme font awesome icons in Custom menu (fontawesome)

by Animal the muppet -
Number of replies: 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

Average of ratings: -
In reply to Animal the muppet

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

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of 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.

?

In reply to Animal the muppet

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

by 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!

In reply to Animal the muppet

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

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

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

In reply to Gareth J Barnard

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

by Animal the muppet -

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

In reply to Animal the muppet

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

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

So you've solved the Essential one then?

In reply to Gareth J Barnard

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

by 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?

In reply to Animal the muppet

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

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of 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.

In reply to Gareth J Barnard

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

by Animal the muppet -

aha, that's why.


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

Don't worry, i'll be back smile

In reply to Animal the muppet

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

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

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