Created
July 10, 2015 12:32
-
-
Save ifamily/15e5e7cc8f838bcac1d1 to your computer and use it in GitHub Desktop.
Font Awesome CSS example
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
/* Prepend a Font Awesome icon before link text or page title in Genesis */ | |
.genesis-nav-menu .menu-item-124 a:before, | |
.page-id-2 .entry-title:before{ | |
content: "\f0c0"; | |
font-family: FontAwesome; | |
margin-right: 5px; | |
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; | |
transform: translate(0, 0); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment