[Moodle 3,6 > Boost Theme] Menu-Bar in Nav-Drawer

[Moodle 3,6 > Boost Theme] Menu-Bar in Nav-Drawer

by Mary Evans -
Number of replies: 4
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

I am trying to find a simple way in which to remove the FontAwesome ‘fa-bar’ icon in Boost theme and replace it with ‘fa-arrows‘ in order to make it look like a button.

  =  

As simple as it sounds to do, it’s not that easy. In fact I am finding It a pain to figure out where the menu bar changes from a pix icon into a FontAwesome icon?  Who Dreams up these complicated ways of building themes. my head is spinning. 

Can anyone put me on the right path?

Thanks in anticipation...

Mary

Average of ratings: -
In reply to Gareth J Barnard

Re: [Moodle 3,6 > Boost Theme] Menu-Bar in Nav-Drawer

by Mary Evans -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers

Thank you Gareth....you are a gem! 

In reply to Mary Evans

Re: [Moodle 3,6 > Boost Theme] Menu-Bar in Nav-Drawer

by Jean-Roch Meurisse -
Picture of Core developers Picture of Plugin developers Picture of Testers

Hi Mary,

Or you can simply add this scss rule

[data-region="drawer-toggle"] .fa-bars:before {
content: "\f047";
}
where f047 is the font-awesome code for fa-arrows

Hope this helps