Skip to content

Instantly share code, notes, and snippets.

@carasmo
Created July 24, 2016 17:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carasmo/5a40a72ef6503e4545fc38a6933fab4a to your computer and use it in GitHub Desktop.
Save carasmo/5a40a72ef6503e4545fc38a6933fab4a to your computer and use it in GitHub Desktop.
This goes inside a directory titled 'css' inside your theme child directory = themename/css
/* ## Simple Social Icons for FontAwesome Use
--------------------------------------------- */
.simple-social-icons {
overflow: hidden;
}
.simple-social-icons ul {
margin: 0;
padding: 0;
}
.simple-social-icons ul li {
background: none;
border: none;
float: left;
list-style-type: none;
margin: 2px;
padding: 0;
}
.simple-social-icons ul li a {
border: none ;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
display: inline-block;
font-style: normal;
font-variant: normal;
font-weight: normal;
line-height: 1em;
text-align: center;
text-decoration: none;
text-transform: none;
width: 1em;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.simple-social-icons ul {
margin-left: -2px;
}
/* ----- alignright ----- */
.simple-social-icons ul.alignright {
margin-right: -2px;
}
.simple-social-icons ul.alignright {
float: right;
}
/* ----- aligncenter ----- */
.simple-social-icons ul.aligncenter {
text-align: center;
}
.simple-social-icons ul.aligncenter li {
display: inline-block;
float: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment