Created
December 31, 2018 13:42
-
-
Save julian-stark/08af8559a691b0b8b39bf7c509bcf1a7 to your computer and use it in GitHub Desktop.
If you use Elementor Pro for the header, the Eicons font is used for the hamburger icon. This CSS code replaces it with Font Awesome icons.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Replace Eicons with FontAwesome | |
*/ | |
.eicon { | |
display: inline-block; | |
font: normal normal normal 14px/1 FontAwesome; | |
font-size: inherit; | |
text-rendering: auto; | |
-webkit-font-smoothing: antialiased; | |
-moz-osx-font-smoothing: grayscale; | |
} | |
.elementor-menu-toggle i:before { | |
content: "\f0c9"; | |
} | |
.elementor-menu-toggle.elementor-active i:before { | |
content: "\f00d"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you @presswerk. Been searching for the answer for days. Great code and worked perfectly!