By Abi on Friday, 08 February 2019
Posted in General
Likes 0
Views 721
Votes 0
Hello,

I'm using Charm template and I want to change the fa-bars icon used for 0ffcanvas to fa-globe. How can I do this in such a way that it survives updates to Charm?
Hey Abi,

Unfortunately it is not possible to override this behavior by modifying the html. Your best bet is to use css and change the icon style.
·
Saturday, 09 February 2019 15:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark. Please tell me the specific code and where I should put it. Thanks.
Abi
·
Saturday, 09 February 2019 16:31
·
0 Likes
·
0 Votes
·
0 Comments
·
This really isn't a template thing but rather just how you use css, https://fontawesome.com/how-to-use/on-the-web/advanced/css-pseudo-elements . Anyway, you can try these codes:

[gist]
a#offcanvas-toggler .fa-bars:before {
content: "\f0ac";
}
[/gist]
·
Saturday, 09 February 2019 16:42
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks Mark. I decided to achieve my primary aim in a different way.
Abi
·
Sunday, 17 February 2019 19:50
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome.

Just for your information, I have locked and marked this thread as resolved to avoid confusions in the future. Please start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiries.

Thanks for understanding.
·
Sunday, 17 February 2019 21:56
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post